bcb4e51a409d94ae670de96afb8483a4f7855294Stephan Bosch/* Copyright (c) 2009-2018 Dovecot authors, see the included COPYING file */
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen/* <settings checks> */
935960e45571872e38f730964f8ca1d116a1b532Timo Sirainenstatic bool director_settings_verify(void *_set, pool_t pool, const char **error_r);
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainenstatic struct file_listener_settings director_unix_listeners_array[] = {
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainenstatic struct file_listener_settings *director_unix_listeners[] = {
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainenstatic buffer_t director_unix_listeners_buf = {
300e4e43ed1ca46d0614459161ca2fb460ef661aTimo Sirainenstatic struct file_listener_settings director_fifo_listeners_array[] = {
300e4e43ed1ca46d0614459161ca2fb460ef661aTimo Sirainenstatic struct file_listener_settings *director_fifo_listeners[] = {
300e4e43ed1ca46d0614459161ca2fb460ef661aTimo Sirainenstatic buffer_t director_fifo_listeners_buf = {
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen/* </settings checks> */
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainenstruct service_settings director_service_settings = {
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen .unix_listeners = { { &director_unix_listeners_buf,
300e4e43ed1ca46d0614459161ca2fb460ef661aTimo Sirainen .fifo_listeners = { { &director_fifo_listeners_buf,
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen { type, #name, offsetof(struct director_settings, name), NULL }
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainenstatic const struct setting_define director_setting_defines[] = {
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainenconst struct director_settings director_default_settings = {
311cf367b949f360c9a90822f06f39df31ec69e3Timo Sirainen .director_output_buffer_size = 10 * 1024 * 1024,
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainenconst struct setting_parser_info director_setting_parser_info = {
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen .struct_size = sizeof(struct director_settings),
935960e45571872e38f730964f8ca1d116a1b532Timo Sirainen/* <settings checks> */
935960e45571872e38f730964f8ca1d116a1b532Timo Sirainendirector_settings_verify(void *_set, pool_t pool ATTR_UNUSED, const char **error_r)
935960e45571872e38f730964f8ca1d116a1b532Timo Sirainen/* </settings checks> */