NeoMutt  2024-04-25-1-g3de005
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
mailbox.h
Go to the documentation of this file.
1
23#ifndef MUTT_MAILDIR_MAILBOX_H
24#define MUTT_MAILDIR_MAILBOX_H
25
26#include <stdbool.h>
27#include <stdint.h>
28#include "core/lib.h"
29
30struct Email;
31
32enum MxStatus maildir_mbox_check (struct Mailbox *m);
33enum MxStatus maildir_mbox_check_stats(struct Mailbox *m, uint8_t flags);
34enum MxStatus maildir_mbox_close (struct Mailbox *m);
37enum MxStatus maildir_mbox_sync (struct Mailbox *m);
38void maildir_parse_flags (struct Email *e, const char *path);
39
40#endif /* MUTT_MAILDIR_MAILBOX_H */
Convenience wrapper for the core headers.
enum MxStatus maildir_mbox_check_stats(struct Mailbox *m, uint8_t flags)
Check the Mailbox statistics - Implements MxOps::mbox_check_stats() -.
Definition: mailbox.c:810
enum MxStatus maildir_mbox_check(struct Mailbox *m)
Check for new mail - Implements MxOps::mbox_check() -.
Definition: mailbox.c:802
enum MxStatus maildir_mbox_close(struct Mailbox *m)
Close a Mailbox - Implements MxOps::mbox_close() -.
Definition: mailbox.c:899
bool maildir_mbox_open_append(struct Mailbox *m, OpenMailboxFlags flags)
Open a Mailbox for appending - Implements MxOps::mbox_open_append() -.
Definition: mailbox.c:748
enum MxOpenReturns maildir_mbox_open(struct Mailbox *m)
Open a Mailbox - Implements MxOps::mbox_open() -.
Definition: mailbox.c:737
enum MxStatus maildir_mbox_sync(struct Mailbox *m)
Save changes to the Mailbox - Implements MxOps::mbox_sync() -.
Definition: mailbox.c:839
void maildir_parse_flags(struct Email *e, const char *path)
Parse Maildir file flags.
Definition: mailbox.c:82
uint8_t OpenMailboxFlags
Flags for mutt_open_mailbox(), e.g. MUTT_NOSORT.
Definition: mxapi.h:39
MxOpenReturns
Return values for mbox_open()
Definition: mxapi.h:76
MxStatus
Return values from mbox_check(), mbox_check_stats(), mbox_sync(), and mbox_close()
Definition: mxapi.h:63
The envelope/body of an email.
Definition: email.h:39
char * path
Path of Email (for local Mailboxes)
Definition: email.h:70
A mailbox.
Definition: mailbox.h:79