blob: ba70f8a977f643dab72b8e620136a7163278703a (
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
|
/* Copyright (c) 2010-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "buffer.h"
#include "settings-parser.h"
#include "service-settings.h"
#include "mail-storage-settings.h"
#include "fs-crypt-settings.h"
static const struct setting_define fs_crypt_setting_defines[] = {
{ .type = SET_STRLIST, .key = "plugin",
.offset = offsetof(struct fs_crypt_settings, plugin_envs) },
SETTING_DEFINE_LIST_END
};
const struct fs_crypt_settings fs_crypt_default_settings = {
.plugin_envs = ARRAY_INIT
};
static const struct setting_parser_info *fs_crypt_setting_dependencies[] = {
NULL
};
const struct setting_parser_info fs_crypt_setting_parser_info = {
.module_name = "fs-crypt",
.defines = fs_crypt_setting_defines,
.defaults = &fs_crypt_default_settings,
.type_offset = SIZE_MAX,
.struct_size = sizeof(struct fs_crypt_settings),
.parent_offset = SIZE_MAX,
.dependencies = fs_crypt_setting_dependencies
};
|