67#if defined(CRYPT_BACKEND_GPGME)
71#if defined(CRYPT_BACKEND_CLASSIC_PGP)
75#if defined(CRYPT_BACKEND_CLASSIC_SMIME)
Convenience wrapper for the config headers.
bool cs_register_variables(const struct ConfigSet *cs, struct ConfigDef vars[])
Register a set of config items.
Convenience wrapper for the core headers.
void crypto_module_cleanup(struct NcryptModuleData *mod_data)
Clean up the crypto modules.
void crypt_cleanup(struct NcryptModuleData *mod_data)
Clean up backend.
const struct Module ModuleNcrypt
Module for the Ncrypt library.
#define FREE(x)
Free memory and set the pointer to NULL.
#define MUTT_MEM_CALLOC(n, type)
@ MODULE_ID_NCRYPT
ModuleNcrypt, Ncrypt
Convenience wrapper for the library headers.
struct Notify * notify_new(void)
Create a new notifications handler.
void notify_set_parent(struct Notify *notify, struct Notify *parent)
Set the parent notification handler.
void notify_free(struct Notify **ptr)
Free a notification handler.
struct ConfigDef NcryptVarsPgp[]
PGP Config definitions for the encryption library.
struct ConfigDef NcryptVarsSmime[]
SMIME Config definitions for the encryption library.
struct ConfigDef NcryptVars[]
Config definitions for the encryption library.
struct ConfigDef NcryptVarsGpgme[]
GPGME Config definitions for the encryption library.
API for encryption/signing of emails.
static bool ncrypt_cleanup(struct NeoMutt *n, void *data)
Clean up a Module - Implements Module::cleanup()
static bool ncrypt_init(struct NeoMutt *n)
Initialise a Module - Implements Module::init()
static bool ncrypt_config_define_variables(struct NeoMutt *n, struct ConfigSet *cs)
Define the Config Variables - Implements Module::config_define_variables()
Ncrypt private Module data.
void neomutt_set_module_data(struct NeoMutt *n, enum ModuleId id, void *data)
Set the private data for a Module.
#define STAILQ_INIT(head)
Container for lots of config items.
Ncrypt private Module data.
unsigned char * packet_buf
Cached PGP data packet.
char * charset
gnupgparse charset
struct CryptModuleList crypt_modules
Linked list of crypto modules.
struct Notify * notify
Notifications.
char * current_sender
Current sender for GPGME.
Container for Accounts, Notifications.
struct Notify * notify
Notifications handler.