NeoMutt  2025-12-11-435-g4ac674
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
module.c
Go to the documentation of this file.
1
22
28
29#include "config.h"
30#include <stdbool.h>
31#include <stddef.h>
32#include "config/lib.h"
33#include "core/lib.h"
34
35extern struct ConfigDef NcryptVars[];
36extern struct ConfigDef NcryptVarsGpgme[];
37extern struct ConfigDef NcryptVarsPgp[];
38extern struct ConfigDef NcryptVarsSmime[];
39
43static bool ncrypt_config_define_variables(struct NeoMutt *n, struct ConfigSet *cs)
44{
45 bool rc = true;
46
48
49#if defined(CRYPT_BACKEND_GPGME)
51#endif
52
53#if defined(CRYPT_BACKEND_CLASSIC_PGP)
55#endif
56
57#if defined(CRYPT_BACKEND_CLASSIC_SMIME)
59#endif
60
61 return rc;
62}
63
67const struct Module ModuleNcrypt = {
69 "ncrypt",
70 NULL, // init
71 NULL, // config_define_types
73 NULL, // commands_register
74 NULL, // gui_init
75 NULL, // gui_cleanup
76 NULL, // cleanup
77};
Convenience wrapper for the config headers.
bool cs_register_variables(const struct ConfigSet *cs, struct ConfigDef vars[])
Register a set of config items.
Definition set.c:290
Convenience wrapper for the core headers.
const struct Module ModuleNcrypt
Module for the Ncrypt library.
Definition module.c:67
@ MODULE_ID_NCRYPT
ModuleNcrypt, Ncrypt
Definition module_api.h:80
struct ConfigDef NcryptVarsPgp[]
PGP Config definitions for the encryption library.
Definition config.c:301
struct ConfigDef NcryptVarsSmime[]
SMIME Config definitions for the encryption library.
Definition config.c:371
struct ConfigDef NcryptVars[]
Config definitions for the encryption library.
Definition config.c:110
struct ConfigDef NcryptVarsGpgme[]
GPGME Config definitions for the encryption library.
Definition config.c:222
static bool ncrypt_config_define_variables(struct NeoMutt *n, struct ConfigSet *cs)
Define the Config Variables - Implements Module::config_define_variables()
Definition module.c:43
Container for lots of config items.
Definition set.h:250
Container for Accounts, Notifications.
Definition neomutt.h:41