diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2016-10-22 18:39:50 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2016-10-22 18:39:50 +0300 |
commit | 97fb4785661350ab0ff8ae5605d1bdf7f6566386 (patch) | |
tree | c8c8110991cd8249597e42c937a92073bd34e226 /comsat | |
parent | 6856669720c066769f82b90fee521fd05794dec0 (diff) | |
download | mailutils-97fb4785661350ab0ff8ae5605d1bdf7f6566386.tar.gz mailutils-97fb4785661350ab0ff8ae5605d1bdf7f6566386.tar.bz2 |
Provide extended interface to mu_cli.
* include/mailutils/cfg.h (MU_CFG_APPEND_TREE): New flag.
* include/mailutils/cli.h (mu_version_copyright): New extern.
(mu_cli_ext): New proto.
* libmailutils/cfg/parser.y (mu_cfg_parse_config): Check for
MU_CFG_APPEND_TREE bit set before accessing hints->append_tree.
* libmailutils/cli/cli.c (param_set): Likewise.
(mu_cli_ext): New function.
(mu_cli): Rewrite as an entry point to mu_cli_ext.
* comsat/comsat.c: Remove inclusion of obsolete headers.
* mu/help.c: Likewise.
* pop3d/extra.c: Likewise.
Diffstat (limited to 'comsat')
-rw-r--r-- | comsat/comsat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/comsat/comsat.c b/comsat/comsat.c index c12ed2082..e16f91a23 100644 --- a/comsat/comsat.c +++ b/comsat/comsat.c @@ -16,8 +16,7 @@ along with GNU Mailutils. If not, see <http://www.gnu.org/licenses/>. */ #include "comsat.h" -#define MU_CFG_COMPATIBILITY /* This source uses deprecated cfg interfaces */ -#include "mailutils/libcfg.h" +#include "mailutils/syslog.h" #include "mailutils/cli.h" #ifndef PATH_DEV |