Convenience wrapper for the config headers.
bool cs_register_variables(const struct ConfigSet *cs, struct ConfigDef vars[])
Register a set of config items.
bool commands_register(struct CommandArray *ca, const struct Command *cmds)
Add commands to Commands array.
Convenience wrapper for the core headers.
Execute user-defined Hooks.
void mutt_delete_hooks(struct HookList *hooks, enum CommandId id)
Delete matching hooks.
const struct Module ModuleHooks
Module for the Hooks library.
const struct Command HooksCommands[]
Hook Commands.
struct ConfigDef HooksVars[]
Config definitions for the Hooks library.
static bool hooks_commands_register(struct NeoMutt *n, struct CommandArray *ca)
Register NeoMutt Commands - Implements Module::commands_register()
static bool hooks_cleanup(struct NeoMutt *n, void *data)
Clean up a Module - Implements Module::cleanup()
static bool hooks_init(struct NeoMutt *n)
Initialise a Module - Implements Module::init()
static bool hooks_config_define_variables(struct NeoMutt *n, struct ConfigSet *cs)
Define the Config Variables - Implements Module::config_define_variables()
Hooks private Module data.
void delete_idxfmt_hooks(struct HashTable **idx_fmt_hooks)
Delete all the index-format-hooks.
Parse user-defined Hooks.
#define FREE(x)
Free memory and set the pointer to NULL.
#define MUTT_MEM_CALLOC(n, type)
@ MODULE_ID_HOOKS
ModuleHooks, Hook Commands
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.
void neomutt_set_module_data(struct NeoMutt *n, enum ModuleId id, void *data)
Set the private data for a Module.
Container for lots of config items.
Hooks private Module data.
struct HashTable * idx_fmt_hooks
All Index Format hooks.
struct HookList hooks
All simple hooks, e.g. CMD_FOLDER_HOOK.
struct Notify * notify
Notifications.
Container for Accounts, Notifications.
struct Notify * notify
Notifications handler.