Go to the documentation of this file.
38 #ifndef MUTT_NOTMUCH_LIB_H
39 #define MUTT_NOTMUCH_LIB_H
void nm_db_debug_check(struct Mailbox *m)
Check if the database is open.
char * C_NmQueryWindowCurrentSearch
Config: (notmuch) Current search parameters.
char * nm_email_get_folder_rel_db(struct Mailbox *m, struct Email *e)
Get the folder for a Email from the same level as the notmuch database.
void nm_query_window_forward(void)
Function to move the current search window forward in time.
char * nm_url_from_query(struct Mailbox *m, char *buf, size_t buflen)
Turn a query into a URL.
void nm_parse_type_from_query(struct NmMboxData *mdata, char *buf)
Parse a query type out of a query.
void nm_query_window_backward(void)
Function to move the current search window backward in time.
enum MailboxType nm_path_probe(const char *path, const struct stat *st)
Is this a Notmuch Mailbox? - Implements MxOps::path_probe()
int nm_get_all_tags(struct Mailbox *m, char **tag_list, int *tag_count)
Fill a list with all notmuch tags.
void nm_db_longrun_done(struct Mailbox *m)
Finish a long transaction.
int nm_update_filename(struct Mailbox *m, const char *old_file, const char *new_file, struct Email *e)
Change the filename.
struct MxOps MxNotmuchOps
Notmuch Mailbox - Implements MxOps.
bool nm_message_is_still_queried(struct Mailbox *m, struct Email *e)
Is a message still visible in the query?
char * C_VfolderFormat
Config: (notmuch) printf-like format string for the browser's display of virtual folders.
Container for lots of config items.
MailboxType
Supported mailbox formats.
void nm_init(void)
Setup feature commands.
int nm_read_entire_thread(struct Mailbox *m, struct Email *e)
Get the entire thread of an email.
Notmuch-specific Mailbox data -.
int nm_record_message(struct Mailbox *m, char *path, struct Email *e)
Add a message to the Notmuch database.
int C_NmQueryWindowDuration
Config: (notmuch) Time duration of the current search window.
The envelope/body of an email.
char * nm_email_get_folder(struct Email *e)
Get the folder for a Email.
void nm_db_longrun_init(struct Mailbox *m, bool writable)
Start a long transaction.
bool C_VirtualSpoolFile
Config: (notmuch) Use the first virtual mailbox as a spool file.