New itrctl request: mu_itrctl_count
* include/mailutils/iterator.h (mu_itrctl_req) <mu_itrctl_count>: New request type. * libmailutils/base/assoc.c (itrctl): Support mu_itrctl_count. * libmailutils/list/iterator.c (list_itrctl): Likewise. * libmailutils/mailbox/hdritr.c (hdr_itrctl): Likewise. * libmailutils/mailbox/mbxitr.c (mbx_itrctl): Likewise. * libmailutils/base/opool.c (opitr_itrctl): New function - support mu_itrctl_count. (mu_opool_get_iterator): Register opitr_itrctl. * libmailutils/diag/debug.c (list_itrctl): Return 1-based position indices on mu_itrctl_tell. Support mu_itrctl_count.
Showing
7 changed files
with
58 additions
and
3 deletions
-
Please register or sign in to post a comment