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.
static struct CryptModuleList CryptModules
Linked list of crypto modules, e.g. CryptModSmimeClassic, CryptModPgpGpgme.
#define MUTT_MEM_CALLOC(n, type)
Convenience wrapper for the library headers.
#define STAILQ_REMOVE(head, elm, type, field)
#define STAILQ_HEAD_INITIALIZER(head)
#define STAILQ_ENTRY(type)
#define STAILQ_FOREACH(var, head, field)
#define STAILQ_HEAD(name, type)
#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.