Convert remaining utilities (except mh) to mu_cli.
* Makefile.am: Remove libmu_argp and libmu_cfg * configure.ac: Likewise. * libmu_argp/: Remove. * libmu_cfg/: Remove. * include/mailutils/Makefile.am (pkginclude_HEADERS): Remove gocs.h, libargp.h, libcfg.h * frm/frm.c: Register tls auth module * frm/from.c: Likewise. * maidag/maidag.c: Likewise. * mail/mail.c: Likewise. * messages/messages.c: Likewise. * movemail/movemail.c: Likewise. * readmsg/readmsg.c: Likewise. * sieve/sieve.c: Likewise. * frm/frm.h: Remove obsolete includes * imap4d/Makefile.am: Update. * imap4d/imap4d.c: Use mu_cli for command line and configuration parsing. * imap4d/imap4d.h: Update. * include/mailutils/gocs.h: Remove. * libmailutils/cfg/gocs.c: Remove. * libmailutils/cfg/Makefile.am: Remove gocs.c * include/mailutils/cli.h (mu_cli_capa_apply): Rename to mu_cli_capa_extend_settings (mu_cli_setup) <inorder, prog_doc_hook>: New fields. * include/mailutils/daemon.h: Remove obsolete includes. * include/mailutils/gsasl.h: Likewise. * include/mailutils/mailutils.h: Update. * include/mailutils/mu_auth.h (mu_auth_mode): New enum (mu_auth_module): Redo structure. * include/mailutils/opt.h (mu_parseopt) <po_prog_doc_hook>: New field. * include/mailutils/sql.h (mu_sql_module_config): New extern. (mu_sql_interface_index): Change proto. * libmailutils/auth/mu_auth.c: Rewrite. * libmailutils/auth/system.c (mu_auth_system_module): Update structure * libmailutils/cli/capa.c (mu_cli_capa_apply): Rename to mu_cli_capa_extend_settings * libmailutils/cli/cli.c: Extend settings from auth modules as well. * libmailutils/opt/help.c (mu_program_help): Invoke po_prog_doc_hook if defined. * libmailutils/opt/opt.c (parseopt_init): Check the MU_PARSEOPT_PROG_DOC_HOOK flag. (find_long_option): Fix recognition of ambiguous options in case of exact match. * libmu_auth/gsasl.c: Add configuration. * libmu_auth/ldap.c: Likewise. * libmu_auth/pam.c: Likewise. * libmu_auth/radius.c: Likewise. * libmu_auth/sql.c: Likewise. * libmu_auth/tls.c: Likewise. * libmu_auth/virtual.c: Likewise. * mu/Makefile.am: Update. * mu/mu.c: Rewrite using mu_cli * mu/mu.h: Likewise. * mu/acl.c: Likewise. * mu/cflags.c: Likewise. * mu/dbm.c: Likewise. * mu/dispatch.c: Likewise. * mu/filter.c: Likewise. * mu/flt2047.c: Likewise. * mu/getans.c: Likewise. * mu/getarg.c: Likewise. * mu/getyn.c: Likewise. * mu/help.c: Likewise. * mu/imap.c: Likewise. * mu/info.c: Likewise. * mu/ldflags.c: Likewise. * mu/logger.c: Likewise. * mu/pop.c: Likewise. * mu/query.c: Likewise. * mu/send.c: Likewise. * mu/shell.c: Likewise. * mu/smtp.c: Likewise. * mu/util.c: Likewise. * mu/verbose.c: Likewise. * mu/wicket.c: Likewise. * pop3d/Makefile.am: Update. * pop3d/pop3d.c: Convert to mu_cli interface. * pop3d/pop3d.h: Likewise. * sql/sql.c (mu_sql_interface_index): Change argument qualifiers.
Showing
99 changed files
with
1070 additions
and
4844 deletions
include/mailutils/gocs.h
deleted
100644 → 0
include/mailutils/libargp.h
deleted
100644 → 0
include/mailutils/libcfg.h
deleted
100644 → 0
lib/argp_base.c
deleted
100644 → 0
libmailutils/cfg/gocs.c
deleted
100644 → 0
libmu_argp/.gitignore
deleted
100644 → 0
libmu_argp/Makefile.am
deleted
100644 → 0
libmu_argp/cmdline.c
deleted
100644 → 0
libmu_argp/cmdline.h
deleted
100644 → 0
libmu_argp/common.c
deleted
100644 → 0
libmu_argp/mailutils.c
deleted
100644 → 0
libmu_argp/mu_argp.c
deleted
100644 → 0
libmu_argp/muinit.c
deleted
100644 → 0
libmu_argp/sieve.c
deleted
100644 → 0
libmu_cfg/.gitignore
deleted
100644 → 0
libmu_cfg/Makefile.am
deleted
100644 → 0
libmu_cfg/acl.c
deleted
100644 → 0
libmu_cfg/auth.c
deleted
100644 → 0
libmu_cfg/common.c
deleted
100644 → 0
libmu_cfg/gsasl.c
deleted
100644 → 0
libmu_cfg/init.c
deleted
100644 → 0
libmu_cfg/ldap.c
deleted
100644 → 0
libmu_cfg/pam.c
deleted
100644 → 0
libmu_cfg/radius.c
deleted
100644 → 0
libmu_cfg/sieve.c
deleted
100644 → 0
libmu_cfg/sql.c
deleted
100644 → 0
libmu_cfg/tls.c
deleted
100644 → 0
libmu_cfg/virtdomain.c
deleted
100644 → 0
-
Please register or sign in to post a comment