NeoMutt  2024-10-02-34-g9dd811
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
adata.h
Go to the documentation of this file.
1
23#ifndef MUTT_NOTMUCH_ADATA_H
24#define MUTT_NOTMUCH_ADATA_H
25
26#include <notmuch.h>
27#include <stdbool.h>
28
29struct Mailbox;
30
35{
36 notmuch_database_t *db;
37 bool longrun : 1;
38 bool trans : 1;
39};
40
41void nm_adata_free(void **ptr);
42struct NmAccountData *nm_adata_get (struct Mailbox *m);
43struct NmAccountData *nm_adata_new (void);
44
45#endif /* MUTT_NOTMUCH_ADATA_H */
void nm_adata_free(void **ptr)
Free the private Account data - Implements Account::adata_free() -.
Definition: adata.c:39
struct NmAccountData * nm_adata_new(void)
Allocate and initialise a new NmAccountData structure.
Definition: adata.c:58
struct NmAccountData * nm_adata_get(struct Mailbox *m)
Get the Notmuch Account data.
Definition: adata.c:71
A mailbox.
Definition: mailbox.h:79
Notmuch-specific Account data -.
Definition: adata.h:35
bool longrun
A long-lived action is in progress.
Definition: adata.h:37
notmuch_database_t * db
Connection to Notmuch database.
Definition: adata.h:36
bool trans
Atomic transaction in progress.
Definition: adata.h:38