Imap client: implement LSUB.
LSUB is pretty similar to LIST, therefore it is implemented as a wrapper over the latter. * include/mailutils/imap.h (mu_imap_genlist,mu_imap_genlist_new) (mu_imap_lsub,mu_imap_lsub_new): New protos. * include/mailutils/sys/imap.h (MU_IMAP_CLIENT_LSUB_RX): New state. * libproto/imap/Makefile.am (libmu_imap_la_SOURCES): Add new files. * libproto/imap/genlist.c: New file. * libproto/imap/list.c: Rewrite using generalized list functions. * libproto/imap/lsub.c: New file. * mu/imap.c: Implement lsub.
Showing
7 changed files
with
258 additions
and
140 deletions
libproto/imap/genlist.c
0 → 100644
libproto/imap/lsub.c
0 → 100644
-
Please register or sign in to post a comment