NeoMutt  2025-12-11-1039-g550ac6
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
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
 First article number.
anum_t last_message
 Last article number.
anum_t last_loaded
 Last loaded article.
anum_t last_cached
 Last cached article.
anum_t unread
 Unread articles.
bool subscribed: 1
 Subscribed to this newsgroup.
bool has_new_mail: 1
 Has new articles.
bool allowed: 1
 Posting allowed.
bool deleted: 1
 Newsgroup is deleted.
unsigned int newsrc_len
 Length of newsrc entry.
struct NewsrcEntrynewsrc_ent
 Newsrc entries.
struct NntpAccountDataadata
 Account data.
struct NntpAcache acache [NNTP_ACACHE_LEN]
 Article cache.
struct BodyCachebcache
 Body cache.
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-Label" -> 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

First article number.

Definition at line 37 of file mdata.h.

◆ last_message

anum_t NntpMboxData::last_message

Last article number.

Definition at line 38 of file mdata.h.

◆ last_loaded

anum_t NntpMboxData::last_loaded

Last loaded article.

Definition at line 39 of file mdata.h.

◆ last_cached

anum_t NntpMboxData::last_cached

Last cached article.

Definition at line 40 of file mdata.h.

◆ unread

anum_t NntpMboxData::unread

Unread articles.

Definition at line 41 of file mdata.h.

◆ subscribed

bool NntpMboxData::subscribed

Subscribed to this newsgroup.

Definition at line 42 of file mdata.h.

◆ has_new_mail

bool NntpMboxData::has_new_mail

Has new articles.

Definition at line 43 of file mdata.h.

◆ allowed

bool NntpMboxData::allowed

Posting allowed.

Definition at line 44 of file mdata.h.

◆ deleted

bool NntpMboxData::deleted

Newsgroup is deleted.

Definition at line 45 of file mdata.h.

◆ newsrc_len

unsigned int NntpMboxData::newsrc_len

Length of newsrc entry.

Definition at line 46 of file mdata.h.

◆ newsrc_ent

struct NewsrcEntry* NntpMboxData::newsrc_ent

Newsrc entries.

Definition at line 47 of file mdata.h.

◆ adata

struct NntpAccountData* NntpMboxData::adata

Account data.

Definition at line 48 of file mdata.h.

◆ acache

struct NntpAcache NntpMboxData::acache[NNTP_ACACHE_LEN]

Article cache.

Definition at line 49 of file mdata.h.

◆ bcache

struct BodyCache* NntpMboxData::bcache

Body cache.

Definition at line 50 of file mdata.h.

◆ mtime

struct timespec NntpMboxData::mtime

Time Mailbox was last changed.

Definition at line 52 of file mdata.h.


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