NeoMutt  2022-04-29-178-g3b62e6
Teaching an old dog new tricks
DOXYGEN
mdata.h
Go to the documentation of this file.
1
23#ifndef MUTT_NOTMUCH_MDATA_H
24#define MUTT_NOTMUCH_MDATA_H
25
26#include "query.h"
27
28struct Mailbox;
29
34{
35 struct Url *db_url;
36 char *db_query;
39
40 struct Progress *progress;
43};
44
45void nm_mdata_free(void **ptr);
46struct NmMboxData * nm_mdata_get (struct Mailbox *m);
47struct NmMboxData * nm_mdata_new (const char *url);
48
49#endif /* MUTT_NOTMUCH_MDATA_H */
struct NmMboxData * nm_mdata_new(const char *url)
Create a new NmMboxData object from a query.
Definition: mdata.c:69
void nm_mdata_free(void **ptr)
Free the private Mailbox data - Implements Mailbox::mdata_free()
Definition: mdata.c:46
struct NmMboxData * nm_mdata_get(struct Mailbox *m)
Get the Notmuch Mailbox data.
Definition: mdata.c:97
Notmuch query functions.
NmQueryType
Notmuch Query Types.
Definition: query.h:35
A mailbox.
Definition: mailbox.h:79
Notmuch-specific Mailbox data -.
Definition: mdata.h:34
struct Url * db_url
Parsed view url of the Notmuch database.
Definition: mdata.h:35
int oldmsgcount
Definition: mdata.h:41
struct Progress * progress
A progress bar.
Definition: mdata.h:40
enum NmQueryType query_type
Messages or Threads.
Definition: mdata.h:38
int db_limit
Maximum number of results to return.
Definition: mdata.h:37
char * db_query
Previous query.
Definition: mdata.h:36
int ignmsgcount
Ignored messages.
Definition: mdata.h:42
A parsed URL proto://user:password@host:port/path?a=1&b=2
Definition: url.h:69