- 08 Nov, 2007 7 commits
-
-
- 07 Nov, 2007 2 commits
-
-
function. * include/mailutils/cfg.h (mu_cfg_time): New value (struct mu_cfg_section): Rewamp using lists. (enum mu_cfg_cont_type, struct mu_cfg_cont): New types. (mu_config_create_container, mu_config_clone_container) (mu_config_destroy_container): New functions. (mu_parse_config): New function. * include/mailutils/mu_auth.h (mu_authentication_clear_list) (mu_authorization_clear_list): New functions. * mailbox/cfg_lexer.c: Add missing includes (mu_config_create_container, mu_config_clone_container) (mu_config_destroy_container): New functions. (mu_parse_config): New function. (_mu_config_register_section): New function. (mu_config_register_section): New function. (_mu_parse_config): Fully implement system-wide/per-user configuration semantics. (mu_parse_config): Take two more arguments. * mailbox/cfg_parser.h: Remove automatically generated file. * mailbox/cfg_parser.y (find_container): New function (find_subsection,find_param): Rewrite using find_container (parse_param): Implement new data type mu_cfg_time (time_t value). (_scan_tree_helper): Complain about unknown sections only if MU_CONFIG_VERBOSE environment variable is set. * mailbox/mu_argp.c (assign_string): Bugfix. (mu_argp_set_config_param): New function. (mu_argp_parse): Remove eventual `lt-' prefix from program names. * mailbox/mu_auth.c: New options --clear-authorization and --clear-authentication. (mu_authorization_clear_list,mu_authentication_clear_list): New functions. * include/mailutils/refcount.h (struct _mu_refcount): Move ro refcount.c (mu_refcount_inc,mu_refcount_dec): Change return value. (mu_refcount_value): New function. * mailbox/refcount.c (struct _mu_refcount): Moved from refcount.h (mu_refcount_value): New function. (mu_refcount_create,mu_refcount_destroy,mu_refcount_inc) (mu_refcount_dec): Fix monitor usage. (mu_refcount_inc,mu_refcount_dec): Fix return type. * mailbox/Makefile.am (libmailutils_la_SOURCES): Add refcount.c * dotlock/dotlock.c, imap4d/imap4d.c, mail.local/main.c, mail.remote/mail.remote.c, mimeview/mimeview.c, movemail/movemail.c, pop3d/pop3d.c, pop3d/signal.c, readmsg/readmsg.c, sieve/sieve.c: Implement new configuration. * testsuite/lib/mailutils.exp: Set MU_CONFIG_FLAVOR envar to `none' to avoid reading configuration files.
Sergey Poznyakoff authored -
-
- 06 Nov, 2007 2 commits
-
-
- 05 Nov, 2007 7 commits
-
-
-
-
-
-
-
* 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.
Sergey Poznyakoff authored -
* include/mailutils/stream.h (mu_socket_stream_create) (mu_stream_shutdown, mu_stream_set_shutdown): New functions. * libproto/include/stream0.h (struct _mu_stream): New member `_shutdown'. * mailbox/file_stream.c (mu_stream_create): Bugfix. * mailbox/stream.c (mu_stream_shutdown) (mu_stream_set_shutdown): New functions. * mailbox/tcp.c (_tcp_shutdown): New function. (_tcp_stream_init): New function. (mu_tcp_stream_create_with_source_ip): Register _tcp_shutdown.
Sergey Poznyakoff authored
-
- 23 Oct, 2007 1 commit
-
-
- 12 Oct, 2007 4 commits
-
-
-
-
Sergey Poznyakoff authored
-
Sergey Poznyakoff authored
-
- 04 Sep, 2007 5 commits
-
-
- 02 Sep, 2007 2 commits
-
-
* README: Editted text in README file related to the -enable-mh-utils option. This was to correct a reference from a now non-existent mh README file to the ..doc/texinfo/mh-mh.texi file. 2007-08-24 Darel Henman <dhenman@gmail.com> * mailbox/mailer.c: Include <sys/time.h> to fix builds on CygWin.
Darel Henman authored -
-
- 29 Aug, 2007 1 commit
- 26 Aug, 2007 3 commits
-
-
- 21 Aug, 2007 2 commits
-
-
- 18 Aug, 2007 3 commits
-
-
- 09 Aug, 2007 1 commit
-
-