NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
DOXYGEN
edata.h
Go to the documentation of this file.
1 
23 #ifndef MUTT_IMAP_EDATA_H
24 #define MUTT_IMAP_EDATA_H
25 
26 #include <stdbool.h>
27 
28 struct Email;
29 
34 {
35  /* server-side flags */
36  bool read : 1;
37  bool old : 1;
38  bool deleted : 1;
39  bool flagged : 1;
40  bool replied : 1;
41 
42  bool parsed : 1;
43 
44  unsigned int uid;
45  unsigned int msn;
46 
47  char *flags_system;
48  char *flags_remote;
49 };
50 
51 void imap_edata_free(void **ptr);
52 struct ImapEmailData *imap_edata_get (struct Email *e);
53 struct ImapEmailData *imap_edata_new (void);
54 
55 #endif /* MUTT_IMAP_EDATA_H */
The envelope/body of an email.
Definition: email.h:37
struct ImapEmailData * imap_edata_new(void)
Create a new ImapEmailData.
Definition: edata.c:54
unsigned int msn
Message Sequence Number.
Definition: edata.h:45
bool flagged
Definition: edata.h:39
bool deleted
Definition: edata.h:38
struct ImapEmailData * imap_edata_get(struct Email *e)
Get the private data for this Email.
Definition: edata.c:64
char * flags_remote
Definition: edata.h:48
unsigned int uid
32-bit Message UID
Definition: edata.h:44
bool replied
Definition: edata.h:40
bool old
Definition: edata.h:37
char * flags_system
Definition: edata.h:47
bool read
Definition: edata.h:36
void imap_edata_free(void **ptr)
Free the private Email data - Implements Email::edata_free()
Definition: edata.c:38
IMAP-specific Email data -.
Definition: edata.h:33
bool parsed
Definition: edata.h:42