NeoMutt
2023-03-22-27-g3cb248
Teaching an old dog new tricks
DOXYGEN
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 "
lib.h
"
28
32
struct
NntpMboxData
33
{
34
char
*
group
;
35
char
*
desc
;
36
anum_t
first_message
;
37
anum_t
last_message
;
38
anum_t
last_loaded
;
39
anum_t
last_cached
;
40
anum_t
unread
;
41
bool
subscribed
: 1;
42
bool
has_new_mail
: 1;
43
bool
allowed
: 1;
44
bool
deleted
: 1;
45
unsigned
int
newsrc_len
;
46
struct
NewsrcEntry
*
newsrc_ent
;
47
struct
NntpAccountData
*
adata
;
48
struct
NntpAcache
acache
[
NNTP_ACACHE_LEN
];
49
struct
BodyCache
*
bcache
;
50
};
51
52
void
nntp_mdata_free
(
void
**ptr);
53
54
#endif
/* MUTT_NNTP_MDATA_H */
NNTP_ACACHE_LEN
#define NNTP_ACACHE_LEN
Definition:
lib.h:82
anum_t
#define anum_t
Definition:
lib.h:60
nntp_mdata_free
void nntp_mdata_free(void **ptr)
Free the private Mailbox data - Implements Mailbox::mdata_free()
Definition:
mdata.c:38
lib.h
Key value store.
BodyCache
Local cache of email bodies.
Definition:
bcache.c:51
NewsrcEntry
An entry in a .newsrc (subscribed newsgroups)
Definition:
lib.h:76
NntpAcache
NNTP article cache.
Definition:
lib.h:67
NntpAccountData
NNTP-specific Account data -.
Definition:
adata.h:37
NntpMboxData
NNTP-specific Mailbox data -.
Definition:
mdata.h:33
NntpMboxData::last_cached
anum_t last_cached
Definition:
mdata.h:39
NntpMboxData::deleted
bool deleted
Definition:
mdata.h:44
NntpMboxData::allowed
bool allowed
Definition:
mdata.h:43
NntpMboxData::last_message
anum_t last_message
Definition:
mdata.h:37
NntpMboxData::bcache
struct BodyCache * bcache
Definition:
mdata.h:49
NntpMboxData::group
char * group
Name of newsgroup.
Definition:
mdata.h:34
NntpMboxData::adata
struct NntpAccountData * adata
Definition:
mdata.h:47
NntpMboxData::desc
char * desc
Description of newsgroup.
Definition:
mdata.h:35
NntpMboxData::newsrc_ent
struct NewsrcEntry * newsrc_ent
Definition:
mdata.h:46
NntpMboxData::unread
anum_t unread
Definition:
mdata.h:40
NntpMboxData::last_loaded
anum_t last_loaded
Definition:
mdata.h:38
NntpMboxData::newsrc_len
unsigned int newsrc_len
Definition:
mdata.h:45
NntpMboxData::acache
struct NntpAcache acache[NNTP_ACACHE_LEN]
Definition:
mdata.h:48
NntpMboxData::has_new_mail
bool has_new_mail
Definition:
mdata.h:42
NntpMboxData::first_message
anum_t first_message
Definition:
mdata.h:36
NntpMboxData::subscribed
bool subscribed
Definition:
mdata.h:41