fake-folder.c
154 Bytes
-
Begin imap client implementation. · 78d43b05 ...
* include/mailutils/imap.h: New file. * include/mailutils/Makefile.am (pkginclude_HEADERS): Add imap.h * libproto/imap/capability.c: New file. * libproto/imap/capatst.c: New file. * libproto/imap/carrier.c: New file. * libproto/imap/connect.c: New file. * libproto/imap/create.c: New file. * libproto/imap/destroy.c: New file. * libproto/imap/disconnect.c: New file. * libproto/imap/err.c: New file. * libproto/imap/fake-folder.c: New file. * libproto/imap/logout.c: New file. * libproto/imap/response.c: New file. * libproto/imap/state.c: New file. * libproto/imap/tag.c: New file. * libproto/imap/trace.c: New file. * libproto/imap/Makefile.am (libmu_imap_la_SOURCES): Temporarly remove folder.c, mbox.c and url.c. Add new files. * mu/getarg.c: New file. * mu/imap.c: New file. * mu/verbose.c: New file. * mu/Makefile.am (IDLE_MODULES): New variable. (IMAP_C): New variable. (MODULES): Add $(IMAP_C). (mu_SOURCES): Add getarg.c and verbose.c (mu-setup.h, mu-setup.c): Add IDLE_MODULES both to the dependencies and to the mu-setup.awk command line. * mu/mu-setup.awk: New keyword mu-cond. * mu/pop.c: Add mu-cond keyword. * include/mailutils/sys/imap.h: Rewrite. * include/mailutils/sys/pop3.h (MU_POP3_CHECK_EAGAIN): Take into account MU_ERR_REPLY and MU_ERR_BADREPLY, which are recoverable errors. * libmailutils/base/list.c (mu_list_clear): Return immediately if list is NULL. * libmu_auth/sql.c (sql_escape_string): Remove unused variable. * libproto/pop/pop3_carrier.c (mu_pop3_get_carrier): Increase refcount on the returned stream. * libproto/pop/pop3_response.c (mu_pop3_response): Check POP3 reply code.
Sergey Poznyakoff authored