Implement normal UNIX-style configuration files:
* mailbox/cfg_lexer.c: New file. * mailbox/cfg_parser.c: New file. * mailbox/cfg_parser.h: New file. * mailbox/Makefile.am: Add cfg_ sources and socket_stream.c. * include/mailutils/cfg.h: New file. * include/mailutils/Makefile.am (pkginclude_HEADERS): Add cfg.h. * include/mailutils/argp.h: Include cfg.h. (mu_create_argcv): Remove prototype. * include/mailutils/mu_auth.h (struct mu_auth_module): New member `cfg'. (MU_AUTH_REGISTER_ALL_MODULES): Call mu_auth_init first. * mailbox/mu_argp.c: Rewrite. Implement normal configuration (resource) file support. Overloaded command line options begin to phase out. * mailbox/mu_auth.c, auth/gsasl.c, auth/pam.c, auth/radius.c, auth/sql.c, auth/tls.c, auth/virtual.c, libsieve/argp.c, mailbox/system.c: Implement configuration statements. * imap4d/imap4d.c: Begin switching to the new configuration scheme.
Showing
18 changed files
with
4362 additions
and
601 deletions
include/mailutils/cfg.h
0 → 100644
mailbox/cfg_lexer.c
0 → 100644
mailbox/cfg_parser.c
0 → 100644
mailbox/cfg_parser.h
0 → 100644
-
Please register or sign in to post a comment