imap client: implement STORE, DELETE, RENAME, CHECK, EXPUNGE, COPY, CLOSE and UNSELECT.
* include/mailutils/imap.h (imap_command): New struct. (mu_imap_gencom): New function. (mu_imap_store,mu_imap_delete) (mu_imap_rename,mu_imap_mailbox_close,mu_imap_close) (mu_imap_check): New functions. (_mu_close_handler): New function. * include/mailutils/sys/imap.h (mu_imap_client_state): Add new states. * libproto/imap/gencom.c: New file. * libproto/imap/close.c: New file. * libproto/imap/delete.c: New file. * libproto/imap/rename.c: New file. * libproto/imap/store.c: New file. * libproto/imap/unselect.c: New file. * libproto/imap/check.c: New file. * libproto/imap/expunge.c: New file. * libproto/imap/copy.c: New file. * libproto/imap/Makefile.am (libmu_imap_la_SOURCES): Add new files. * mu/imap.c: Implement new commands. * mu/shell.c (execute_line): Treat backslash as escape only before another backslash or double-quote.
Showing
19 changed files
with
631 additions
and
104 deletions
libproto/imap/check.c
0 → 100644
libproto/imap/close.c
0 → 100644
libproto/imap/copy.c
0 → 100644
libproto/imap/delete.c
0 → 100644
libproto/imap/expunge.c
0 → 100644
libproto/imap/gencom.c
0 → 100644
libproto/imap/rename.c
0 → 100644
libproto/imap/store.c
0 → 100644
libproto/imap/unselect.c
0 → 100644
-
Please register or sign in to post a comment