const struct Command CommandsCommands[]
General NeoMutt Commands.
static bool commands_cleanup(struct NeoMutt *n, void *data)
Clean up a Module - Implements Module::cleanup()
const struct Module ModuleCommands
Module for the Commands library.
static bool commands_commands_register(struct NeoMutt *n, struct CommandArray *ca)
Register NeoMutt Commands - Implements Module::commands_register()
static bool commands_init(struct NeoMutt *n)
Initialise a Module - Implements Module::init()
Commands private Module data.
bool commands_register(struct CommandArray *ca, const struct Command *cmds)
Add commands to Commands array.
Convenience wrapper for the core headers.
void mutt_list_free(struct ListHead *h)
Free a List AND its strings.
#define FREE(x)
Free memory and set the pointer to NULL.
#define MUTT_MEM_CALLOC(n, type)
@ MODULE_ID_COMMANDS
ModuleCommands, NeoMutt 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.
#define STAILQ_INIT(head)
Commands private Module data.
struct ListHead muttrc_stack
LIFO of sourced config files (avoid cycles)
struct Notify * notify
Notifications.
Container for Accounts, Notifications.
struct Notify * notify
Notifications handler.