78 mdata->db_limit = c_nm_db_limit;
83 mutt_error(
_(
"failed to parse notmuch url: %s"), url);
const char * cs_subset_string(const struct ConfigSubset *sub, const char *name)
Get a string config item by name.
short cs_subset_number(const struct ConfigSubset *sub, const char *name)
Get a number config item by name.
Convenience wrapper for the config headers.
Convenience wrapper for the core headers.
@ MUTT_NOTMUCH
'Notmuch' (virtual) Mailbox type
Structs that make up an email.
#define mutt_debug(LEVEL,...)
void nm_mdata_free(void **ptr)
Free the private Mailbox data - Implements Mailbox::mdata_free() -.
@ LL_DEBUG1
Log at debug level 1.
void * mutt_mem_calloc(size_t nmemb, size_t size)
Allocate zeroed memory on the heap.
Convenience wrapper for the library headers.
struct NmMboxData * nm_mdata_new(const char *url)
Create a new NmMboxData object from a query.
struct NmMboxData * nm_mdata_get(struct Mailbox *m)
Get the Notmuch Mailbox data.
Notmuch-specific Mailbox data.
void progress_free(struct Progress **ptr)
Free a Progress Bar.
enum NmQueryType nm_string_to_query_type(const char *str)
Lookup a query type.
enum MailboxType type
Mailbox type.
void * mdata
Driver specific data.
Container for Accounts, Notifications.
struct ConfigSubset * sub
Inherited config items.
Notmuch-specific Mailbox data -.
struct Url * url_parse(const char *src)
Fill in Url.
void url_free(struct Url **ptr)
Free the contents of a URL.