imap-settings.c revision c606578cc0390611803b50f2c8c448541f9755e2
c25356d5978632df6203437e1953bcb29e0c736fTimo Sirainen/* Copyright (c) 2005-2010 Dovecot authors, see the included COPYING file */
6cc0546c058f3e6253c6f99727b28dd602712974Timo Sirainenstatic bool imap_settings_verify(void *_set, pool_t pool,
0ce5f96804e81cb0f857e7df32c0272f1eed9377Timo Sirainen const char **error_r);
0ce5f96804e81cb0f857e7df32c0272f1eed9377Timo Sirainen/* <settings checks> */
0ce5f96804e81cb0f857e7df32c0272f1eed9377Timo Sirainenstatic struct file_listener_settings imap_unix_listeners_array[] = {
252db51b6c0a605163326b3ea5d09e9936ca3b29Timo Sirainenstatic struct file_listener_settings *imap_unix_listeners[] = {
211ed7806d8715ec2280ffbf5d10f0d6e4f1beb2Timo Sirainen imap_unix_listeners, sizeof(imap_unix_listeners), { 0, }
211ed7806d8715ec2280ffbf5d10f0d6e4f1beb2Timo Sirainen/* </settings checks> */
9b7eeffb5752b500ac62ba1fd01c4a8c4ada14e9Timo Sirainenstruct service_settings imap_service_settings = {
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen .unix_listeners = { { &imap_unix_listeners_buf,
211ed7806d8715ec2280ffbf5d10f0d6e4f1beb2Timo Sirainen { type, #name, offsetof(struct imap_settings, name), NULL }
211ed7806d8715ec2280ffbf5d10f0d6e4f1beb2Timo Sirainen { SET_DEFLIST, name, offsetof(struct imap_settings, field), defines }
59151b71059df1190acd75d8717ed04a7920c862Timo Sirainenstatic const struct setting_define imap_setting_defines[] = {
5238111c460098d9cc8cc22527026138a278b9a4Timo Sirainenstatic const struct imap_settings imap_default_settings = {
de954ff15b495be13007a8aca2c09fd1d356a283Timo Sirainen /* RFC-2683 recommends at least 8000 bytes. Some clients however don't
de954ff15b495be13007a8aca2c09fd1d356a283Timo Sirainen break large message sets to multiple commands, so we're pretty
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen liberal by default. */
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainenstatic const struct setting_parser_info *imap_setting_dependencies[] = {
d7e72877b7a5085c3addf9729d0bfbe1b5357853Timo Sirainenconst struct setting_parser_info imap_setting_parser_info = {
71da447014454c84828d9dface77219875554d7dTimo Sirainen/* <settings checks> */
{ NULL, 0 }
const char **error_r)
const char *const *str;
return FALSE;
return TRUE;