NeoMutt  2022-04-29-145-g9b6a0e
Teaching an old dog new tricks
Go to the documentation of this file.
23 #ifndef MUTT_NNTP_MDATA_H
24 #define MUTT_NNTP_MDATA_H
26 #include <stdbool.h>
27 #include "lib.h"
33 {
34  char *group;
35  char *desc;
41  bool subscribed : 1;
42  bool has_new_mail : 1;
43  bool allowed : 1;
44  bool deleted : 1;
45  unsigned int newsrc_len;
49  struct BodyCache *bcache;
50 };
52 void nntp_mdata_free(void **ptr);
54 #endif /* MUTT_NNTP_MDATA_H */
Definition: lib.h:82
#define anum_t
Definition: lib.h:60
void nntp_mdata_free(void **ptr)
Free the private Mailbox data - Implements Mailbox::mdata_free()
Definition: mdata.c:38
Key value store.
Local cache of email bodies.
Definition: bcache.c:51
An entry in a .newsrc (subscribed newsgroups)
Definition: lib.h:76
NNTP article cache.
Definition: lib.h:67
NNTP-specific Account data -.
Definition: adata.h:37
NNTP-specific Mailbox data -.
Definition: mdata.h:33
anum_t last_cached
Definition: mdata.h:39
bool deleted
Definition: mdata.h:44
bool allowed
Definition: mdata.h:43
anum_t last_message
Definition: mdata.h:37
struct BodyCache * bcache
Definition: mdata.h:49
char * group
Name of newsgroup.
Definition: mdata.h:34
struct NntpAccountData * adata
Definition: mdata.h:47
char * desc
Description of newsgroup.
Definition: mdata.h:35
struct NewsrcEntry * newsrc_ent
Definition: mdata.h:46
anum_t unread
Definition: mdata.h:40
anum_t last_loaded
Definition: mdata.h:38
unsigned int newsrc_len
Definition: mdata.h:45
struct NntpAcache acache[NNTP_ACACHE_LEN]
Definition: mdata.h:48
bool has_new_mail
Definition: mdata.h:42
anum_t first_message
Definition: mdata.h:36
bool subscribed
Definition: mdata.h:41