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 /dotlock | |
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 'dotlock')
-rw-r--r-- | dotlock/dotlock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dotlock/dotlock.c b/dotlock/dotlock.c index 0c77a92f6..cddc33e97 100644 --- a/dotlock/dotlock.c +++ b/dotlock/dotlock.c @@ -125,11 +125,11 @@ parse_opt (int key, char *arg, struct argp_state *state) struct mu_cfg_param dotlock_cfg_param[] = { - { "force", mu_cfg_time, &force, NULL, + { "force", mu_cfg_time, &force, 0, NULL, N_("Forcibly break an existing lock older than the specified time.") }, - { "retry", mu_cfg_int, &retries, NULL, + { "retry", mu_cfg_int, &retries, 0, NULL, N_("Number of times to retry acquiring the lock.") }, - { "debug", mu_cfg_bool, &debug, NULL, + { "debug", mu_cfg_bool, &debug, 0, NULL, N_("Print details of failure reasons to stderr.") }, { NULL } }; |