NeoMutt  2024-12-12-14-g7b49f7
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
edata.h
Go to the documentation of this file.
1
24#ifndef MUTT_IMAP_EDATA_H
25#define MUTT_IMAP_EDATA_H
26
27#include <stdbool.h>
28
29struct Email;
30
35{
36 /* server-side flags */
37 bool read : 1;
38 bool old : 1;
39 bool deleted : 1;
40 bool flagged : 1;
41 bool replied : 1;
42
43 bool parsed : 1;
44
45 unsigned int uid;
46 unsigned int msn;
47
50};
51
52void imap_edata_free(void **ptr);
53struct ImapEmailData *imap_edata_get (struct Email *e);
54struct ImapEmailData *imap_edata_new (void);
56
57#endif /* MUTT_IMAP_EDATA_H */
void imap_edata_free(void **ptr)
Free the private Email data - Implements Email::edata_free() -.
Definition: edata.c:40
struct ImapEmailData * imap_edata_new(void)
Create a new ImapEmailData.
Definition: edata.c:57
struct ImapEmailData * imap_edata_clone(struct ImapEmailData *src)
Clone an ImapEmailData.
Definition: edata.c:79
struct ImapEmailData * imap_edata_get(struct Email *e)
Get the private data for this Email.
Definition: edata.c:67
The envelope/body of an email.
Definition: email.h:39
IMAP-specific Email data -.
Definition: edata.h:35
bool parsed
Definition: edata.h:43
unsigned int uid
32-bit Message UID
Definition: edata.h:45
unsigned int msn
Message Sequence Number.
Definition: edata.h:46
char * flags_remote
Definition: edata.h:49
bool deleted
Email has been deleted.
Definition: edata.h:39
bool old
Email has been seen.
Definition: edata.h:38
bool read
Email has been read.
Definition: edata.h:37
bool flagged
Email has been flagged.
Definition: edata.h:40
bool replied
Email has been replied to.
Definition: edata.h:41
char * flags_system
Definition: edata.h:48