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