lmtp-settings.c revision da7f1a07f583df8905684a7b78469960afd7c78d
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen/* Copyright (c) 2009-2014 Dovecot authors, see the included COPYING file */
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen/* <settings checks> */
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainenstatic struct file_listener_settings lmtp_unix_listeners_array[] = {
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainenstatic struct file_listener_settings *lmtp_unix_listeners[] = {
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen lmtp_unix_listeners, sizeof(lmtp_unix_listeners), { NULL, }
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen/* </settings checks> */
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainenstruct service_settings lmtp_service_settings = {
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen .unix_listeners = { { &lmtp_unix_listeners_buf,
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen { type, #name, offsetof(struct lmtp_settings, name), NULL }
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainenstatic const struct setting_define lmtp_setting_defines[] = {
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainenstatic const struct lmtp_settings lmtp_default_settings = {
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainenstatic const struct setting_parser_info *lmtp_setting_dependencies[] = {
300e4e43ed1ca46d0614459161ca2fb460ef661aTimo Sirainenconst struct setting_parser_info lmtp_setting_parser_info = {
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainenvoid lmtp_settings_dup(const struct setting_parser_context *set_parser,
b4ddb5b3c3722620a8fef387dd8c47bb411a5643Timo Sirainen sets = master_service_settings_parser_get_others(master_service,
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen *lda_set_r = settings_dup(&lda_setting_parser_info, sets[1], pool);