blob: e98cc09cd93ea1016106be2b17b8c34b7f3bc8f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
/* Copyright (c) 2017-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "settings-parser.h"
#include "service-settings.h"
#include "mail-storage-settings.h"
#include "quota-status-settings.h"
#undef DEF
#define DEF(type, name) \
SETTING_DEFINE_STRUCT_##type(#name, name, struct quota_status_settings)
static const struct setting_define quota_status_setting_defines[] = {
DEF(STR, recipient_delimiter),
SETTING_DEFINE_LIST_END
};
static const struct quota_status_settings quota_status_default_settings = {
.recipient_delimiter = "+",
};
static const struct setting_parser_info *quota_status_setting_dependencies[] = {
NULL
};
const struct setting_parser_info quota_status_setting_parser_info = {
.module_name = "mail",
.defines = quota_status_setting_defines,
.defaults = "a_status_default_settings,
.type_offset = SIZE_MAX,
.struct_size = sizeof(struct quota_status_settings),
.parent_offset = SIZE_MAX,
.dependencies = quota_status_setting_dependencies
};
|