NeoMutt  2022-04-29-249-gaae397
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
28struct 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
49};
50
51void imap_edata_free(void **ptr);
52struct ImapEmailData *imap_edata_get (struct Email *e);
53struct ImapEmailData *imap_edata_new (void);
55
56#endif /* MUTT_IMAP_EDATA_H */
struct ImapEmailData * imap_edata_new(void)
Create a new ImapEmailData.
Definition: edata.c:55
struct ImapEmailData * imap_edata_clone(struct ImapEmailData *src)
Clone an ImapEmailData.
Definition: edata.c:77
struct ImapEmailData * imap_edata_get(struct Email *e)
Get the private data for this Email.
Definition: edata.c:65
void imap_edata_free(void **ptr)
Free the private Email data - Implements Email::edata_free()
Definition: edata.c:39
The envelope/body of an email.
Definition: email.h:37
IMAP-specific Email data -.
Definition: edata.h:34
bool parsed
Definition: edata.h:42
unsigned int uid
32-bit Message UID
Definition: edata.h:44
unsigned int msn
Message Sequence Number.
Definition: edata.h:45
char * flags_remote
Definition: edata.h:48
bool deleted
Email has been deleted.
Definition: edata.h:38
bool old
Email has been seen.
Definition: edata.h:37
bool read
Email has been read.
Definition: edata.h:36
bool flagged
Email has been flagged.
Definition: edata.h:39
bool replied
Email has been replied to.
Definition: edata.h:40
char * flags_system
Definition: edata.h:47