mdbox-settings.c revision e59faf65ce864fe95dc00f5d52b8323cdbd0608a
/* Copyright (c) 2006-2010 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "settings-parser.h"
#include "mail-storage-settings.h"
#include "mdbox-settings.h"
#include <stddef.h>
const char **error_r);
static const struct setting_define mdbox_setting_defines[] = {
};
static const struct mdbox_settings mdbox_default_settings = {
.mdbox_rotate_days = 0,
.mdbox_max_open_files = 64,
};
static const struct setting_parser_info mdbox_setting_parser_info = {
.module_name = "mdbox",
.struct_size = sizeof(struct mdbox_settings),
};
/* <settings checks> */
const char **error_r)
{
*error_r = "mdbox_max_open_files must be at least 2";
return FALSE;
}
return TRUE;
}
/* </settings checks> */
const struct setting_parser_info *mdbox_get_setting_parser_info(void)
{
return &mdbox_setting_parser_info;
}