diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-12-11 08:57:18 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-12-11 08:57:18 +0000 |
commit | 1b2350e50f3f39fbc40811da4b942a71fd1dab8d (patch) | |
tree | a2244fab02b194c4c59f23f9eb5ad030674d173b /mail.remote | |
parent | 797a5462a89c41ffe944a10746a4b5b29ee077c0 (diff) | |
download | mailutils-1b2350e50f3f39fbc40811da4b942a71fd1dab8d.tar.gz mailutils-1b2350e50f3f39fbc40811da4b942a71fd1dab8d.tar.bz2 |
* include/mailutils/cfg.h (mu_cfg_section): New type.
(struct mu_cfg_param.offset): New member
(mu_offsetof): New define
(mu_cfg_section_fp): Change signature
(struct mu_cfg_section.label,target): New members.
(struct mu_cfg_section.data): Remove.
(struct mu_cfg_section.children): New member, instead of
param and subsec which are removed.
(mu_cfg_scan_tree): Change signature.
(mu_config_register_section): Change signature.
(mu_parse_config): Change signature.
(mu_parse_config_tree): Rename to mu_cfg_tree_reduce.
(mu_get_config): New proto.
* include/mailutils/libcfg.h (mu_parse_config_files): Change
prototype.
* dotlock/dotlock.c, imap4d/imap4d.c, lib/tcpwrap.h,
libargp/muinit.c, libcfg/auth.c, libcfg/common.c, libcfg/gsasl.c,
libcfg/init.c, libcfg/ldap.c, libcfg/pam.c, libcfg/radius.c,
libcfg/sieve.c, libcfg/sql.c, libcfg/tls.c, libcfg/virtdomain.c,
maidag/maidag.c, mail.local/main.c, mail.remote/mail.remote.c,
mailbox/cfg_format.c, mailbox/cfg_parser.y, mimeview/mimeview.c,
movemail/movemail.c, pop3d/pop3d.c, readmsg/readmsg.c,
sieve/sieve.c: Reflect changes to the cfg framework.
* mailbox/Makefile.am (libmailutils_la_SOURCES): Add cfg_driver.c.
* mailbox/cfg_driver.c: New file.
* mailbox/cfg_lexer.c: Move driver part into a separate file.
* examples/Makefile.am (AM_LDFLAGS): Remove libmuaux
* examples/echosrv.c: Remove getopt.h
Diffstat (limited to 'mail.remote')
-rw-r--r-- | mail.remote/mail.remote.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail.remote/mail.remote.c b/mail.remote/mail.remote.c index 8578b78cb..9707f54c9 100644 --- a/mail.remote/mail.remote.c +++ b/mail.remote/mail.remote.c @@ -136,12 +136,12 @@ static struct argp argp = { struct mu_cfg_param mail_remote_cfg_param[] = { - { "from", mu_cfg_string, &optfrom, NULL, + { "from", mu_cfg_string, &optfrom, 0, NULL, N_("Set sender email address."), N_("email") }, - { "read-recipients", mu_cfg_string, &read_recipients, NULL, + { "read-recipients", mu_cfg_string, &read_recipients, 0, NULL, N_("Read recipient addresses from the message.") }, - { "debug", mu_cfg_int, &optdebug, NULL, + { "debug", mu_cfg_int, &optdebug, 0, NULL, N_("Set debug verbosity level. Level 1 prints envelope commands in " "the SMTP protocol transaction. Levels 2 and above print the data " "part of the transaction as well.") }, |