NeoMutt  2024-10-02-37-gfa9146
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
edata.h
Go to the documentation of this file.
1
23#ifndef MUTT_NOTMUCH_EDATA_H
24#define MUTT_NOTMUCH_EDATA_H
25
26#include "core/lib.h"
27
28struct Email;
29
34{
35 char *folder;
36 char *oldpath;
37 char *virtual_id;
39};
40
41void nm_edata_free(void **ptr);
42struct NmEmailData * nm_edata_get (struct Email *e);
43struct NmEmailData * nm_edata_new (void);
44
45#endif /* MUTT_NOTMUCH_EDATA_H */
Convenience wrapper for the core headers.
MailboxType
Supported mailbox formats.
Definition: mailbox.h:41
void nm_edata_free(void **ptr)
Free data attached to an Email.
Definition: edata.c:42
struct NmEmailData * nm_edata_get(struct Email *e)
Get the Notmuch Email data.
Definition: edata.c:72
struct NmEmailData * nm_edata_new(void)
Create a new NmEmailData for an email.
Definition: edata.c:61
The envelope/body of an email.
Definition: email.h:39
Notmuch-specific Email data -.
Definition: edata.h:34
char * folder
Location of the Email.
Definition: edata.h:35
char * virtual_id
Unique Notmuch Id.
Definition: edata.h:37
char * oldpath
Definition: edata.h:36
enum MailboxType type
Type of Mailbox the Email is in.
Definition: edata.h:38