mdbox-settings.c revision 9ff39148453aa6db8887ec1cde46bd7489109c09
e59faf65ce864fe95dc00f5d52b8323cdbd0608aTimo Sirainen/* Copyright (c) 2006-2010 Dovecot authors, see the included COPYING file */
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen { type, #name, offsetof(struct mdbox_settings, name), NULL }
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainenstatic bool mdbox_settings_verify(void *_set, pool_t pool ATTR_UNUSED,
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen const char **error_r);
7744586e3e0fd60158abfbb03a233d3bd8d6c48bTimo Sirainenstatic const struct setting_define mdbox_setting_defines[] = {
7744586e3e0fd60158abfbb03a233d3bd8d6c48bTimo Sirainenstatic const struct mdbox_settings mdbox_default_settings = {
7744586e3e0fd60158abfbb03a233d3bd8d6c48bTimo Sirainenstatic const struct setting_parser_info mdbox_setting_parser_info = {
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen/* <settings checks> */
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainenstatic bool mdbox_settings_verify(void *_set, pool_t pool ATTR_UNUSED,
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen const char **error_r)
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen *error_r = "mdbox_max_open_files must be at least 2";
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen/* </settings checks> */