45 module->specs = specs;
Convenience wrapper for the core headers.
const struct CryptModuleSpecs * crypto_module_lookup(int identifier)
Lookup a crypto module by name.
void crypto_module_register(const struct CryptModuleSpecs *specs)
Register a new crypto module.
void crypto_module_cleanup(void)
Clean up the crypto modules.
#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.
API for encryption/signing of emails.
Ncrypt private Module data.
void * neomutt_get_module_data(struct NeoMutt *n, enum ModuleId id)
Get the private data for a Module.
#define STAILQ_REMOVE(head, elm, type, field)
#define STAILQ_FOREACH(var, head, field)
#define STAILQ_INSERT_HEAD(head, elm, field)
#define STAILQ_FOREACH_SAFE(var, head, field, tvar)
int identifier
Identifying bit.
const struct CryptModuleSpecs * specs
Crypto module definition.
Ncrypt private Module data.
struct CryptModuleList crypt_modules
Linked list of crypto modules.
Container for Accounts, Notifications.