NeoMutt  2024-10-02-34-g9dd811
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
mdata.h
Go to the documentation of this file.
1
23#ifndef MUTT_NNTP_MDATA_H
24#define MUTT_NNTP_MDATA_H
25
26#include <stdbool.h>
27#include <time.h>
28#include "lib.h"
29
34{
35 char *group;
36 char *desc;
42 bool subscribed : 1;
43 bool has_new_mail : 1;
44 bool allowed : 1;
45 bool deleted : 1;
46 unsigned int newsrc_len;
51 struct timespec mtime;
52};
53
54void nntp_mdata_free(void **ptr);
55
56#endif /* MUTT_NNTP_MDATA_H */
void nntp_mdata_free(void **ptr)
Free the private Mailbox data - Implements Mailbox::mdata_free() -.
Definition: mdata.c:38
#define NNTP_ACACHE_LEN
Definition: lib.h:82
#define anum_t
Definition: lib.h:60
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:36
NNTP-specific Mailbox data -.
Definition: mdata.h:34
anum_t last_cached
Definition: mdata.h:40
bool deleted
Definition: mdata.h:45
bool allowed
Definition: mdata.h:44
anum_t last_message
Definition: mdata.h:38
struct BodyCache * bcache
Definition: mdata.h:50
char * group
Name of newsgroup.
Definition: mdata.h:35
struct timespec mtime
Time Mailbox was last changed.
Definition: mdata.h:51
struct NntpAccountData * adata
Definition: mdata.h:48
char * desc
Description of newsgroup.
Definition: mdata.h:36
struct NewsrcEntry * newsrc_ent
Definition: mdata.h:47
anum_t unread
Definition: mdata.h:41
anum_t last_loaded
Definition: mdata.h:39
unsigned int newsrc_len
Definition: mdata.h:46
struct NntpAcache acache[NNTP_ACACHE_LEN]
Definition: mdata.h:49
bool has_new_mail
Definition: mdata.h:43
anum_t first_message
Definition: mdata.h:37
bool subscribed
Definition: mdata.h:42