NeoMutt  2024-11-14-34-g5aaf0d
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
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 <time.h>
27#include "query.h"
28
29struct Mailbox;
30
35{
36 struct Url *db_url;
37 char *db_query;
40
41 struct Progress *progress;
44 struct timespec mtime;
45};
46
47void nm_mdata_free(void **ptr);
48struct NmMboxData * nm_mdata_get (struct Mailbox *m);
49struct NmMboxData * nm_mdata_new (const char *url);
50
51#endif /* MUTT_NOTMUCH_MDATA_H */
void nm_mdata_free(void **ptr)
Free the private Mailbox data - Implements Mailbox::mdata_free() -.
Definition: mdata.c:45
struct NmMboxData * nm_mdata_new(const char *url)
Create a new NmMboxData object from a query.
Definition: mdata.c:68
struct NmMboxData * nm_mdata_get(struct Mailbox *m)
Get the Notmuch Mailbox data.
Definition: mdata.c:96
Notmuch query functions.
NmQueryType
Notmuch Query Types.
Definition: query.h:35
A mailbox.
Definition: mailbox.h:79
Notmuch-specific Mailbox data -.
Definition: mdata.h:35
struct Url * db_url
Parsed view url of the Notmuch database.
Definition: mdata.h:36
int oldmsgcount
Definition: mdata.h:42
struct Progress * progress
A progress bar.
Definition: mdata.h:41
struct timespec mtime
Time Mailbox was last changed.
Definition: mdata.h:44
enum NmQueryType query_type
Messages or Threads.
Definition: mdata.h:39
int db_limit
Maximum number of results to return.
Definition: mdata.h:38
char * db_query
Previous query.
Definition: mdata.h:37
int ignmsgcount
Ignored messages.
Definition: mdata.h:43
A parsed URL proto://user:password@host:port/path?a=1&b=2
Definition: url.h:69