Go to the documentation of this file.
35 #ifndef MUTT_MBOX_LIB_H
36 #define MUTT_MBOX_LIB_H
64 #define MMDF_SEP "\001\001\001\001\n"
bool mbox_test_new_folder(const char *path)
Test if an mbox or mmdf mailbox has new mail.
MxStatus
Return values from mx_mbox_check(), mx_mbox_sync(), and mx_mbox_close()
enum MxStatus mbox_check(struct Mailbox *m, struct stat *sb, bool check_stats)
void mbox_reset_atime(struct Mailbox *m, struct stat *st)
Reset the access time on the mailbox file.
struct MxOps MxMmdfOps
MMDF Mailbox - Implements MxOps.
Mbox-specific Account data -.
bool locked
is the mailbox locked?
struct MxOps MxMboxOps
Mbox Mailbox - Implements MxOps.
bool append
mailbox is opened in append mode
bool C_CheckMboxSize
Config: (mbox,mmdf) Use mailbox size as an indicator of new mail.
Container for lots of config items.
MailboxType
Supported mailbox formats.
enum MailboxType mbox_path_probe(const char *path, const struct stat *st)
Is this an mbox Mailbox? - Implements MxOps::path_probe()
struct timespec atime
File's last-access time.
Time value with nanosecond precision.