auth-settings.c revision 61618d4c58080570f689614fec204ae14e90cef2
/* Copyright (c) 2005-2009 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "array.h"
#include "settings-parser.h"
#include "master-service-settings.h"
#include "service-settings.h"
#include "auth-settings.h"
#include <stddef.h>
extern const struct setting_parser_info auth_setting_parser_info;
extern const struct setting_parser_info auth_root_setting_parser_info;
/* <settings checks> */
static struct file_listener_settings auth_unix_listeners_array[] = {
{ "auth-userdb", 0600, "", "" },
{ "auth-master", 0600, "", "" }
};
static struct file_listener_settings *auth_unix_listeners[] = {
};
static buffer_t auth_unix_listeners_buf = {
auth_unix_listeners, sizeof(auth_unix_listeners), { 0, }
};
/* </settings checks> */
struct service_settings auth_service_settings = {
MEMBER(client_limit) 0,
MEMBER(service_count) 0,
sizeof(auth_unix_listeners[0]) } },
};
/* <settings checks> */
static struct file_listener_settings auth_worker_unix_listeners_array[] = {
{ "auth-worker", 0600, "", "" }
};
static struct file_listener_settings *auth_worker_unix_listeners[] = {
};
static buffer_t auth_worker_unix_listeners_buf = {
auth_worker_unix_listeners, sizeof(auth_worker_unix_listeners), { 0, }
};
/* </settings checks> */
struct service_settings auth_worker_service_settings = {
MEMBER(process_limit) 0,
MEMBER(service_count) 0,
sizeof(auth_worker_unix_listeners[0]) } },
};
static const struct setting_define auth_passdb_setting_defines[] = {
};
const struct setting_parser_info auth_passdb_setting_parser_info = {
};
static const struct setting_define auth_userdb_setting_defines[] = {
};
const struct setting_parser_info auth_userdb_setting_parser_info = {
};
/* we're kind of kludging here to avoid "auth_" prefix in the struct fields */
static const struct setting_define auth_setting_defines[] = {
};
static const struct auth_settings auth_default_settings = {
MEMBER(cache_size) 0,
};
const struct setting_parser_info auth_setting_parser_info = {
};
/* <settings checks> */
const char **error_r ATTR_UNUSED)
{
if (set->debug_passwords)
return TRUE;
}
/* </settings checks> */
struct auth_settings *
{
static const struct setting_parser_info *set_roots[] = {
};
const char *error;
void **sets;
return sets[0];
}