NeoMutt  2024-04-25-85-g27bab4
Teaching an old dog new tricks
No Matches
NmMboxData Struct Reference

Notmuch-specific Mailbox data -. More...

#include "mdata.h"

+ Inheritance diagram for NmMboxData:
+ Collaboration diagram for NmMboxData:

Data Fields

struct Urldb_url
 Parsed view url of the Notmuch database.
char * db_query
 Previous query.
int db_limit
 Maximum number of results to return.
enum NmQueryType query_type
 Messages or Threads.
struct Progress * progress
 A progress bar.
int oldmsgcount
int ignmsgcount
 Ignored messages.
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

Notmuch-specific Mailbox data -.

Definition at line 34 of file mdata.h.

Field Documentation

◆ db_url

struct Url* NmMboxData::db_url

Parsed view url of the Notmuch database.

Definition at line 36 of file mdata.h.

◆ db_query

char* NmMboxData::db_query

Previous query.

Definition at line 37 of file mdata.h.

◆ db_limit

int NmMboxData::db_limit

Maximum number of results to return.

Definition at line 38 of file mdata.h.

◆ query_type

enum NmQueryType NmMboxData::query_type

Messages or Threads.

Definition at line 39 of file mdata.h.

◆ progress

struct Progress* NmMboxData::progress

A progress bar.

Definition at line 41 of file mdata.h.

◆ oldmsgcount

int NmMboxData::oldmsgcount

Definition at line 42 of file mdata.h.

◆ ignmsgcount

int NmMboxData::ignmsgcount

Ignored messages.

Definition at line 43 of file mdata.h.

◆ mtime

struct timespec NmMboxData::mtime

Time Mailbox was last changed.

Definition at line 44 of file mdata.h.

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