mail-storage-settings.h revision b215a8a123623782554a83f3025ef4e771bd8f01
#ifndef MAIL_STORAGE_SETTINGS_H
#define MAIL_STORAGE_SETTINGS_H
struct mail_user;
struct mail_storage;
struct mail_storage_settings {
const char *mail_location;
const char *mail_cache_fields;
const char *mail_never_cache_fields;
unsigned int mail_cache_min_mail_count;
unsigned int mailbox_idle_check_interval;
unsigned int mail_max_keyword_length;
bool mail_save_crlf;
bool fsync_disable;
bool mmap_disable;
bool dotlock_use_excl;
bool mail_nfs_storage;
bool mail_nfs_index;
bool mail_debug;
const char *lock_method;
const char *pop3_uidl_format;
};
struct mail_namespace_settings {
const char *type;
const char *separator;
const char *prefix;
const char *location;
const char *alias_for;
bool inbox;
bool hidden;
const char *list;
bool subscriptions;
struct mail_user_settings *user_set;
};
struct mail_user_settings {
unsigned int umask;
ARRAY_DEFINE(plugin_envs, const char *);
};
extern struct setting_parser_info mail_user_setting_parser_info;
extern struct setting_parser_info mail_namespace_setting_parser_info;
extern struct setting_parser_info mail_storage_setting_parser_info;
extern struct mail_namespace_settings mail_namespace_default_settings;
const void *
const char *driver);
#endif