NeoMutt
2024-11-14-34-g5aaf0d
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
33
struct
NntpMboxData
34
{
35
char
*
group
;
36
char
*
desc
;
37
anum_t
first_message
;
38
anum_t
last_message
;
39
anum_t
last_loaded
;
40
anum_t
last_cached
;
41
anum_t
unread
;
42
bool
subscribed
: 1;
43
bool
has_new_mail
: 1;
44
bool
allowed
: 1;
45
bool
deleted
: 1;
46
unsigned
int
newsrc_len
;
47
struct
NewsrcEntry
*
newsrc_ent
;
48
struct
NntpAccountData
*
adata
;
49
struct
NntpAcache
acache
[
NNTP_ACACHE_LEN
];
50
struct
BodyCache
*
bcache
;
51
struct
timespec
mtime
;
52
};
53
54
void
nntp_mdata_free
(
void
**ptr);
55
56
#endif
/* MUTT_NNTP_MDATA_H */
nntp_mdata_free
void nntp_mdata_free(void **ptr)
Free the private Mailbox data - Implements Mailbox::mdata_free() -.
Definition:
mdata.c:38
NNTP_ACACHE_LEN
#define NNTP_ACACHE_LEN
Definition:
lib.h:82
anum_t
#define anum_t
Definition:
lib.h:60
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:36
NntpMboxData
NNTP-specific Mailbox data -.
Definition:
mdata.h:34
NntpMboxData::last_cached
anum_t last_cached
Definition:
mdata.h:40
NntpMboxData::deleted
bool deleted
Definition:
mdata.h:45
NntpMboxData::allowed
bool allowed
Definition:
mdata.h:44
NntpMboxData::last_message
anum_t last_message
Definition:
mdata.h:38
NntpMboxData::bcache
struct BodyCache * bcache
Definition:
mdata.h:50
NntpMboxData::group
char * group
Name of newsgroup.
Definition:
mdata.h:35
NntpMboxData::mtime
struct timespec mtime
Time Mailbox was last changed.
Definition:
mdata.h:51
NntpMboxData::adata
struct NntpAccountData * adata
Definition:
mdata.h:48
NntpMboxData::desc
char * desc
Description of newsgroup.
Definition:
mdata.h:36
NntpMboxData::newsrc_ent
struct NewsrcEntry * newsrc_ent
Definition:
mdata.h:47
NntpMboxData::unread
anum_t unread
Definition:
mdata.h:41
NntpMboxData::last_loaded
anum_t last_loaded
Definition:
mdata.h:39
NntpMboxData::newsrc_len
unsigned int newsrc_len
Definition:
mdata.h:46
NntpMboxData::acache
struct NntpAcache acache[NNTP_ACACHE_LEN]
Definition:
mdata.h:49
NntpMboxData::has_new_mail
bool has_new_mail
Definition:
mdata.h:43
NntpMboxData::first_message
anum_t first_message
Definition:
mdata.h:37
NntpMboxData::subscribed
bool subscribed
Definition:
mdata.h:42