director-settings.c revision 3e10cd470988298dc2b37f548ad03da4d7c11ffa
5a580c3a38ced62d4bcc95b8ac7c4f2935b5d294Timo Sirainen/* Copyright (c) 2009-2015 Dovecot authors, see the included COPYING file */
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen/* <settings checks> */
72cbf33ae81fde08384d30c779ff540752d9256cTimo Sirainenstatic bool director_settings_verify(void *_set, pool_t pool, const char **error_r);
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainenstatic struct file_listener_settings director_unix_listeners_array[] = {
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainenstatic struct file_listener_settings *director_unix_listeners[] = {
dd0ba1bab2c1b89c7e063fa45d156fa72b8260d5Timo Sirainenstatic buffer_t director_unix_listeners_buf = {
d33fc6c584718efd46159e1d8f46488b9dfc66f5Timo Sirainenstatic struct file_listener_settings director_fifo_listeners_array[] = {
d33fc6c584718efd46159e1d8f46488b9dfc66f5Timo Sirainenstatic struct file_listener_settings *director_fifo_listeners[] = {
5e40ed3f0a2c2acddc9b8eab59670c7a850114c5Timo Sirainenstatic buffer_t director_fifo_listeners_buf = {
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen/* </settings checks> */
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainenstruct service_settings director_service_settings = {
e1f05b193ac1edd3267294e9501e8063aa0f791aTimo Sirainen .unix_listeners = { { &director_unix_listeners_buf,
5e40ed3f0a2c2acddc9b8eab59670c7a850114c5Timo Sirainen .fifo_listeners = { { &director_fifo_listeners_buf,
5e40ed3f0a2c2acddc9b8eab59670c7a850114c5Timo Sirainen { type, #name, offsetof(struct director_settings, name), NULL }
9f19a50d5966643c4d1c5ca06868ac2ad31bc4d5Timo Sirainenstatic const struct setting_define director_setting_defines[] = {
5e40ed3f0a2c2acddc9b8eab59670c7a850114c5Timo Sirainenconst struct director_settings director_default_settings = {
61b6d1256936065321153bcd9228b9e45d95c9abTimo Sirainenconst struct setting_parser_info director_setting_parser_info = {
5e40ed3f0a2c2acddc9b8eab59670c7a850114c5Timo Sirainen .struct_size = sizeof(struct director_settings),
992a13add4eea0810e4db0f042a595dddf85536aTimo Sirainen/* <settings checks> */
6a19e109ee8c5a6f688da83a86a7f6abeb71abddTimo Sirainendirector_settings_verify(void *_set, pool_t pool ATTR_UNUSED, const char **error_r)
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen/* </settings checks> */