bool commands_register(struct CommandArray *ca, const struct Command *cmds)
Add commands to Commands array.
Convenience wrapper for the core headers.
const struct Module ModuleLua
Module for the Lua library.
const struct Command LuaCommands[]
List of NeoMutt commands to register.
static bool lua_cleanup(struct NeoMutt *n, void *data)
Clean up a Module - Implements Module::cleanup()
static bool lua_init(struct NeoMutt *n)
Initialise a Module - Implements Module::init()
static bool lua_commands_register(struct NeoMutt *n, struct CommandArray *ca)
Register NeoMutt Commands - Implements Module::commands_register()
#define FREE(x)
Free memory and set the pointer to NULL.
#define MUTT_MEM_CALLOC(n, type)
@ MODULE_ID_LUA
ModuleLua, Integrated Lua scripting
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.
lua_State * lua_state
Lua State.
struct Notify * notify
Notifications.
Container for Accounts, Notifications.
struct Notify * notify
Notifications handler.