mdbox-settings.c revision 383d0e8c24451468d6bea17e4b55d74de744abe6
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen/* Copyright (c) 2006-2009 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);
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainenstatic struct setting_define mdbox_setting_defines[] = {
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainenstatic struct mdbox_settings mdbox_default_settings = {
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainenstatic struct setting_parser_info mdbox_setting_parser_info = {
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen MEMBER(struct_size) sizeof(struct mdbox_settings),
383d0e8c24451468d6bea17e4b55d74de744abe6Timo Sirainen MEMBER(parent) &mail_user_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> */