Implement list mapping.
* include/mailutils/list.h (MU_LIST_MAP_OK) (MU_LIST_MAP_SKIP,MU_LIST_MAP_STOP): New constants. (mu_list_mapper_t): New typedef. (mu_list_map): New proto. * libmailutils/list/gmap.c: New file. * libmailutils/list/map.c: New file. * libmailutils/list/Makefile.am: Add gmap.c and map.c * libmailutils/tests/listop.c: New command "map". * libmailutils/tests/list.at: Test the list mapping.
Showing
6 changed files
with
478 additions
and
2 deletions
libmailutils/list/gmap.c
0 → 100644
libmailutils/list/map.c
0 → 100644
-
Please register or sign in to post a comment