summaryrefslogtreecommitdiff
path: root/libmailutils/url/create.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-10-28 14:06:38 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2011-10-28 14:23:18 +0300
commitfb994e0a85011d050eb6e3e166018a5625118c20 (patch)
treef0a2a2345548fa5e9183cea6f0734a9fe76d537c /libmailutils/url/create.c
parent02334735e86f1cfda6a2e07cfea9283e4fc88011 (diff)
downloadmailutils-fb994e0a85011d050eb6e3e166018a5625118c20.tar.gz
mailutils-fb994e0a85011d050eb6e3e166018a5625118c20.tar.bz2
pop3d: configurable APOP file and safety criteria.
* include/mailutils/dbm.h (mu_dbm_init) (mu_dbm_get_hint): New prototypes. * include/mailutils/util.h (mu_stpcpy) (mu_file_safety_compose): New prototypes. * libmailutils/string/Makefile.am (libstring_la_SOURCES): Add stpcpy.c * libmailutils/string/stpcpy.c: New file. * libmu_cfg/tls.c (cb2_safety_checks): Use mu_file_safety_compose. * libmu_dbm/create.c (mu_dbm_create): Use mu_dbm_init. * libmu_dbm/dbm.c (_mu_dbm_init): Rename mu_dbm_init. All uses changed. Use URL composing interface to create hints. * maidag/maidag.c (mu_dbm_get_hint): New function. * pop3d/pop3d.c (cb2_forward_file_checks): Use mu_file_safety_compose. (apop_database_name, apop_database_safety) (apop_database_safety_set): New variables. (pop3d_cfg_param) <apop-database-file> <apop-database-safety>: New configuration statements. (main) [ENABLE_DBM]: Initialize dbm safety criteria. * pop3d/apop.c (pop3d_apopuser): Use configured database name and safety flags, if set. * pop3d/pop3d.h [ENABLE_DBM] (APOP_PASSFILE): Add ".db" suffix. (apop_database_name, apop_database_safety) (apop_database_safety_set): New variables.
Diffstat (limited to 'libmailutils/url/create.c')
0 files changed, 0 insertions, 0 deletions

Return to:

Send suggestions and report system problems to the System administrator.