NeoMutt  2021-10-29-43-g6b8931
Teaching an old dog new tricks
DOXYGEN
edata.h
Go to the documentation of this file.
1 
23 #ifndef MUTT_NNTP_EDATA_H
24 #define MUTT_NNTP_EDATA_H
25 
26 #include <stdbool.h>
27 #include "lib.h"
28 
29 struct Email;
30 
35 {
37  bool parsed : 1;
38 };
39 
40 void nntp_edata_free(void **ptr);
41 struct NntpEmailData *nntp_edata_new (void);
42 struct NntpEmailData *nntp_edata_get (struct Email *e);
43 
44 #endif /* MUTT_NNTP_EDATA_H */
struct NntpEmailData * nntp_edata_new(void)
Create a new NntpEmailData for an Email.
Definition: edata.c:48
void nntp_edata_free(void **ptr)
Free the private Email data - Implements Email::edata_free()
Definition: edata.c:38
struct NntpEmailData * nntp_edata_get(struct Email *e)
Get the private data for this Email.
Definition: edata.c:58
#define anum_t
Definition: lib.h:60
Key value store.
The envelope/body of an email.
Definition: email.h:37
NNTP-specific Email data -.
Definition: edata.h:35
anum_t article_num
NNTP article number.
Definition: edata.h:36
bool parsed
Email has been parse.
Definition: edata.h:37