Implement ID extension.
* imap4d/id.c: New file. * imap4d/Makefile.am (imap4d_SOURCES): Add id.c, remove version.c. * imap4d/commands.c: Add ID command. Remove X-VERSION command. (SELECT,EXAMINE): Switch to authenticated mode on failure. * imap4d/imap4d.c (imap4d_argc, imap4d_argv): New variables. (imap4d_cfg_param): New keyword `id-fields'. (main): Save command line arguments. * imap4d/imap4d.h (imap4d_argc, imap4d_argv): New declarations. * imap4d/select.c (imap4d_select0): Do not reset state to auth on failure, this is done by util_finish. * imap4d/version.c: Remove. * imap4d/capability.c: Announce ID capability, remove X-VERSION. * imap4d/testsuite/imap4d/x.exp: Use ID instead of X-VERSION. * TODO, NEWS: Update. * mailbox/cfg_parser.y (_set_fun,parse_param): Bugfix.
Showing
14 changed files
with
261 additions
and
49 deletions
imap4d/id.c
0 → 100644
imap4d/version.c
deleted
100644 → 0
-
Please register or sign in to post a comment