auth-settings.c revision 1b823b2b7790a1e1b7974fcf11a4c48a28e70f37
bcb4e51a409d94ae670de96afb8483a4f7855294Stephan Bosch/* Copyright (c) 2005-2010 Dovecot authors, see the included COPYING file */
2e5d4199ae0f51de146480d13780530c7dd9e3e4Timo Sirainenextern const struct setting_parser_info auth_setting_parser_info;
2e5d4199ae0f51de146480d13780530c7dd9e3e4Timo Sirainenextern const struct setting_parser_info auth_root_setting_parser_info;
2e5d4199ae0f51de146480d13780530c7dd9e3e4Timo Sirainenstatic bool auth_settings_check(void *_set, pool_t pool, const char **error_r);
2e5d4199ae0f51de146480d13780530c7dd9e3e4Timo Sirainenstatic bool auth_passdb_settings_check(void *_set, pool_t pool, const char **error_r);
2e5d4199ae0f51de146480d13780530c7dd9e3e4Timo Sirainenstatic bool auth_userdb_settings_check(void *_set, pool_t pool, const char **error_r);
2e5d4199ae0f51de146480d13780530c7dd9e3e4Timo Sirainen/* <settings checks> */
2e5d4199ae0f51de146480d13780530c7dd9e3e4Timo Sirainenstatic struct file_listener_settings auth_unix_listeners_array[] = {
2e5d4199ae0f51de146480d13780530c7dd9e3e4Timo Sirainenstatic struct file_listener_settings *auth_unix_listeners[] = {
2e5d4199ae0f51de146480d13780530c7dd9e3e4Timo Sirainen auth_unix_listeners, sizeof(auth_unix_listeners), { 0, }
2e5d4199ae0f51de146480d13780530c7dd9e3e4Timo Sirainen/* </settings checks> */
2e5d4199ae0f51de146480d13780530c7dd9e3e4Timo Sirainenstruct service_settings auth_service_settings = {
sizeof(auth_unix_listeners[0]) } },
.process_min_avail = 0,
.process_limit = 0,
.service_count = 0,
sizeof(auth_worker_unix_listeners[0]) } },
.cache_size = 0,
.cache_negative_ttl = 0,
return TRUE;
const char **error_r)
return FALSE;
return TRUE;
const char **error_r)
return FALSE;
return TRUE;
const char *error;
void **sets;
return sets[0];