A mailbox. More...
#include "mailbox.h"
Data Fields | |
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 ConfigSubset * | sub |
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 MxOps * | mx_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 HashTable * | id_hash |
Hash Table: "message-id" -> Email. | |
struct HashTable * | subj_hash |
Hash Table: "subject" -> Email. | |
struct HashTable * | label_hash |
Hash Table: "x-labels" -> Email. | |
struct Account * | account |
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 Notify * | notify |
Notifications: NotifyMailbox, EventMailbox. | |
int | gen |
Generation number, for sorting. | |
char* Mailbox::realpath |
struct ConfigSubset* Mailbox::sub |
enum MailboxType Mailbox::type |
bool Mailbox::newly_created |
struct timespec Mailbox::last_visited |
time_t Mailbox::last_checked |
const struct MxOps* Mailbox::mx_ops |
bool Mailbox::first_check_stats_done |
bool Mailbox::peekonly |
bool Mailbox::readonly |
void* Mailbox::compress_info |
struct HashTable* Mailbox::id_hash |
struct HashTable* Mailbox::subj_hash |
struct HashTable* Mailbox::label_hash |
struct Account* Mailbox::account |
struct Notify* Mailbox::notify |
Notifications: NotifyMailbox, EventMailbox.