Convenience wrapper for the core headers.
@ MUTT_NOTMUCH
'Notmuch' (virtual) Mailbox type
void nm_adata_free(void **ptr)
Free the private Account data - Implements Account::adata_free() -.
#define MUTT_MEM_CALLOC(n, type)
Convenience wrapper for the library headers.
struct NmAccountData * nm_adata_new(void)
Allocate and initialise a new NmAccountData structure.
struct NmAccountData * nm_adata_get(struct Mailbox *m)
Get the Notmuch Account data.
void nm_db_free(notmuch_database_t *db)
Decoupled way to close a Notmuch database.
Pop-specific Account data.
A group of associated Mailboxes.
void * adata
Private data (for Mailbox backends)
enum MailboxType type
Mailbox type.
struct Account * account
Account that owns this Mailbox.
Notmuch-specific Account data -.