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_NNTP_EDATA_H
24
#define MUTT_NNTP_EDATA_H
25
26
#include <stdbool.h>
27
#include "
lib.h
"
28
29
struct
Email
;
30
34
struct
NntpEmailData
35
{
36
anum_t
article_num
;
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 */
nntp_edata_free
void nntp_edata_free(void **ptr)
Free the private Email data - Implements Email::edata_free() -.
Definition
edata.c:38
nntp_edata_get
struct NntpEmailData * nntp_edata_get(struct Email *e)
Get the private data for this Email.
Definition
edata.c:60
nntp_edata_new
struct NntpEmailData * nntp_edata_new(void)
Create a new NntpEmailData for an Email.
Definition
edata.c:50
lib.h
Usenet network mailbox type; talk to an NNTP server.
anum_t
#define anum_t
Definition
lib.h:63
Email
The envelope/body of an email.
Definition
email.h:39
NntpEmailData
NNTP-specific Email data -.
Definition
edata.h:35
NntpEmailData::article_num
anum_t article_num
NNTP article number.
Definition
edata.h:36
NntpEmailData::parsed
bool parsed
Email has been parse.
Definition
edata.h:37