57 { NULL, NULL, 0, -1, NULL }
66 {
"autocrypt",
DT_BOOL,
false, 0, NULL,
67 "Enables the Autocrypt feature"
70 "Format of the autocrypt account menu"
73 "Location of autocrypt files, including the GPG keyring and SQLite database"
75 {
"autocrypt_reply",
DT_BOOL,
true, 0, NULL,
76 "Replying to an autocrypt email automatically enables autocrypt in the reply"
89#if defined(USE_AUTOCRYPT)
char * AutocryptSignAs
Autocrypt Key id to sign as.
static const struct ExpandoDefinition AutocryptFormatDef[]
Expando definitions.
char * AutocryptDefaultKey
Autocrypt default key id (used for postponing messages)
static struct ConfigDef AutocryptVars[]
Config definitions for the autocrypt library.
@ ED_AUT_ADDRESS
AccountEntry.addr.
@ ED_AUT_KEYID
AutocryptAccount.keyid.
@ ED_AUT_NUMBER
AccountEntry.num.
@ ED_AUT_ENABLED
AutocryptAccount.enabled.
@ ED_AUT_PREFER_ENCRYPT
AutocryptAccount.prefer_encrypt.
Convenience wrapper for the config headers.
bool cs_register_variables(const struct ConfigSet *cs, struct ConfigDef vars[])
Register a set of config items.
@ ED_AUTOCRYPT
Autocrypt ED_AUT_ ExpandoDataAutocrypt.
@ ED_GLOBAL
Global ED_GLO_ ExpandoDataGlobal.
bool config_init_autocrypt(struct ConfigSet *cs)
Register autocrypt config variables - Implements module_init_config_t -.
struct ExpandoNode * node_padding_parse(const char *str, struct ExpandoFormat *fmt, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err)
Parse a Padding Expando - Implements ExpandoDefinition::parse() -.
Container for lots of config items.
Definition of a format string.
#define D_PATH_DIR
Path is a directory.
@ DT_PATH
a path to a file/directory
@ ED_GLO_PADDING_EOL
Padding to end-of-line.
@ ED_GLO_PADDING_HARD
Hard Padding.
@ ED_GLO_PADDING_SOFT
Soft Padding.