Imap client: Implement SUBSCRIBE and UNSUBSCRIBE.
* include/mailutils/imap.h (mu_imap_subscribe) (mu_imap_unsubscribe): New protos. * include/mailutils/sys/imap.h (MU_IMAP_CLIENT_SUBSCRIBE_RX) (MU_IMAP_CLIENT_UNSUBSCRIBE_RX): New states. * libproto/imap/Makefile.am (libmu_imap_la_SOURCES): Add subscribe.c and unsubscribe.c * libproto/imap/subscribe.c: New file. * libproto/imap/unsubscribe.c: New file. * mu/imap.c: Implement subscribe/unsubscribe.
Showing
6 changed files
with
124 additions
and
1 deletions
libproto/imap/subscribe.c
0 → 100644
libproto/imap/unsubscribe.c
0 → 100644
-
Please register or sign in to post a comment