pop3c-settings.c revision 83e6a1162fe1cf262ec679f30f43e12dfee750c0
2454dfa32c93c20a8522c6ed42fe057baaac9f9aStephan Bosch/* Copyright (c) 2011 Dovecot authors, see the included COPYING file */
551fef69c0633ae3c7738038e047a7c0762d9599Timo Sirainen { type, #name, offsetof(struct pop3c_settings, name), NULL }
5ef28f68edef46f69961b19b7c1dcd8ec5a955e8Timo Sirainenstatic bool pop3c_settings_check(void *_set, pool_t pool, const char **error_r);
5ef28f68edef46f69961b19b7c1dcd8ec5a955e8Timo Sirainenstatic const struct setting_define pop3c_setting_defines[] = {
5ef28f68edef46f69961b19b7c1dcd8ec5a955e8Timo Sirainenstatic const struct pop3c_settings pop3c_default_settings = {
5ef28f68edef46f69961b19b7c1dcd8ec5a955e8Timo Sirainenstatic const struct setting_parser_info pop3c_setting_parser_info = {
5ef28f68edef46f69961b19b7c1dcd8ec5a955e8Timo Sirainenconst struct setting_parser_info *pop3c_get_setting_parser_info(void)
5ef28f68edef46f69961b19b7c1dcd8ec5a955e8Timo Sirainen/* <settings checks> */
5ef28f68edef46f69961b19b7c1dcd8ec5a955e8Timo Sirainenstatic bool pop3c_settings_check(void *_set, pool_t pool ATTR_UNUSED,
5ef28f68edef46f69961b19b7c1dcd8ec5a955e8Timo Sirainen const char **error_r)
5ef28f68edef46f69961b19b7c1dcd8ec5a955e8Timo Sirainen if (set->pop3c_port == 0 || set->pop3c_port > 65535) {
5ef28f68edef46f69961b19b7c1dcd8ec5a955e8Timo Sirainen "pop3c_ssl_ca_dir: access(%s) failed: %m",