62#if defined(USE_NOTMUCH)
83 if (c_virtual_spool_file)
#define ARRAY_FIRST(head)
Convenience method to get the first element.
#define ARRAY_FREE(head)
Release all memory.
bool cs_subset_bool(const struct ConfigSubset *sub, const char *name)
Get a boolean config item by name.
Convenience wrapper for the config headers.
int cs_str_string_set(const struct ConfigSet *cs, const char *name, const char *value, struct Buffer *err)
Set a config item by string.
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.
static const char * mailbox_path(const struct Mailbox *m)
Get the Mailbox's path string.
@ MUTT_NOTMUCH
'Notmuch' (virtual) Mailbox type
const struct Module ModuleNotmuch
Module for the Notmuch library.
#define FREE(x)
Free memory and set the pointer to NULL.
#define MUTT_MEM_CALLOC(n, type)
@ MODULE_ID_NOTMUCH
ModuleNotmuch, Notmuch
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.
struct MailboxArray neomutt_mailboxes_get(struct NeoMutt *n, enum MailboxType type)
Get an Array of matching Mailboxes.
struct ConfigDef NotmuchVars[]
Config definitions for the Notmuch library.
static bool notmuch_config_define_variables(struct NeoMutt *n, struct ConfigSet *cs)
Define the Config Variables - Implements Module::config_define_variables()
static bool notmuch_gui_init(struct NeoMutt *n)
Initialise the GUI - Implements Module::gui_init()
const struct Command NmCommands[]
Notmuch Commands.
static void notmuch_gui_cleanup(struct NeoMutt *n)
Clean up the GUI - Implements Module::gui_cleanup()
static bool notmuch_init(struct NeoMutt *n)
Initialise a Module - Implements Module::init()
static bool notmuch_cleanup(struct NeoMutt *n, void *data)
Clean up a Module - Implements Module::cleanup()
static bool notmuch_commands_register(struct NeoMutt *n, struct CommandArray *ca)
Register NeoMutt Commands - Implements Module::commands_register()
Notmuch private Module data.
Container for lots of config items.
Container for Accounts, Notifications.
struct ConfigSet * cs
Config set.
struct Notify * notify
Notifications handler.
struct ConfigSubset * sub
Inherited config items.
Notmuch private Module data.
struct Notify * notify
Notifications.