NeoMutt  2024-03-23-142-g2b2e76
Teaching an old dog new tricks
No Matches
NntpMboxData Struct Reference

NNTP-specific Mailbox data -. More...

#include "mdata.h"

+ Inheritance diagram for NntpMboxData:
+ Collaboration diagram for NntpMboxData:

Data Fields

char * group
 Name of newsgroup.
char * desc
 Description of newsgroup.
anum_t first_message
anum_t last_message
anum_t last_loaded
anum_t last_cached
anum_t unread
bool subscribed: 1
bool has_new_mail: 1
bool allowed: 1
bool deleted: 1
unsigned int newsrc_len
struct NewsrcEntrynewsrc_ent
struct NntpAccountDataadata
struct NntpAcache acache [NNTP_ACACHE_LEN]
struct BodyCachebcache
struct timespec mtime
 Time Mailbox was last changed.
- Data Fields inherited from Mailbox
struct Buffer pathbuf
 Path of the Mailbox.
char * realpath
 Used for duplicate detection, context comparison, and the sidebar.
char * name
 A short name for the Mailbox.
struct ConfigSubsetsub
 Inherited config items.
off_t size
 Size of the Mailbox.
bool has_new
 Mailbox has new mail.
int msg_count
 Total number of messages.
int msg_unread
 Number of unread messages.
int msg_flagged
 Number of flagged messages.
int msg_new
 Number of new messages.
int msg_deleted
 Number of deleted messages.
int msg_tagged
 How many messages are tagged?
struct Email ** emails
 Array of Emails.
int email_max
 Size of emails array.
int * v2r
 Mapping from virtual to real msgno.
int vcount
 The number of virtual messages.
bool notified
 User has been notified.
enum MailboxType type
 Mailbox type.
bool newly_created
 Mbox or mmdf just popped into existence.
struct timespec last_visited
 Time of last exit from this mailbox.
time_t last_checked
 Last time we checked this mailbox for new mail.
const struct MxOpsmx_ops
 MXAPI callback functions.
bool append: 1
 Mailbox is opened in append mode.
bool changed: 1
 Mailbox has been modified.
bool dontwrite: 1
 Don't write the mailbox on close.
bool first_check_stats_done: 1
 True when the check have been done at least one time.
bool notify_user: 1
 Notify the user of new mail.
bool peekonly: 1
 Just taking a glance, revert atime.
bool poll_new_mail: 1
 Check for new mail.
bool readonly: 1
 Don't allow changes to the mailbox.
bool verbose: 1
 Display status messages?
AclFlags rights
 ACL bits, see AclFlags.
void * compress_info
 Compressed mbox module private data.
struct HashTableid_hash
 Hash Table: "message-id" -> Email.
struct HashTablesubj_hash
 Hash Table: "subject" -> Email.
struct HashTablelabel_hash
 Hash Table: "x-labels" -> Email.
struct Accountaccount
 Account that owns this Mailbox.
int opened
 Number of times mailbox is opened.
bool visible
 True if a result of "mailboxes".
void * mdata
 Driver specific data.
void(* mdata_free )(void **ptr)
struct Notifynotify
 Notifications: NotifyMailbox, EventMailbox.
int gen
 Generation number, for sorting.

Detailed Description

NNTP-specific Mailbox data -.

Definition at line 33 of file mdata.h.

Field Documentation

◆ group

char* NntpMboxData::group

Name of newsgroup.

Definition at line 35 of file mdata.h.

◆ desc

char* NntpMboxData::desc

Description of newsgroup.

Definition at line 36 of file mdata.h.

◆ first_message

anum_t NntpMboxData::first_message

Definition at line 37 of file mdata.h.

◆ last_message

anum_t NntpMboxData::last_message

Definition at line 38 of file mdata.h.

◆ last_loaded

anum_t NntpMboxData::last_loaded

Definition at line 39 of file mdata.h.

◆ last_cached

anum_t NntpMboxData::last_cached

Definition at line 40 of file mdata.h.

◆ unread

anum_t NntpMboxData::unread

Definition at line 41 of file mdata.h.

◆ subscribed

bool NntpMboxData::subscribed

Definition at line 42 of file mdata.h.

◆ has_new_mail

bool NntpMboxData::has_new_mail

Definition at line 43 of file mdata.h.

◆ allowed

bool NntpMboxData::allowed

Definition at line 44 of file mdata.h.

◆ deleted

bool NntpMboxData::deleted

Definition at line 45 of file mdata.h.

◆ newsrc_len

unsigned int NntpMboxData::newsrc_len

Definition at line 46 of file mdata.h.

◆ newsrc_ent

struct NewsrcEntry* NntpMboxData::newsrc_ent

Definition at line 47 of file mdata.h.

◆ adata

struct NntpAccountData* NntpMboxData::adata

Definition at line 48 of file mdata.h.

◆ acache

struct NntpAcache NntpMboxData::acache[NNTP_ACACHE_LEN]

Definition at line 49 of file mdata.h.

◆ bcache

struct BodyCache* NntpMboxData::bcache

Definition at line 50 of file mdata.h.

◆ mtime

struct timespec NntpMboxData::mtime

Time Mailbox was last changed.

Definition at line 51 of file mdata.h.

The documentation for this struct was generated from the following file: