|
static int | mh_already_notified (struct Mailbox *m, int msgno) |
| Has the message changed.
|
|
static bool | mh_valid_message (const char *s) |
| Is this a valid MH message filename.
|
|
int | mh_check_empty (struct Buffer *path) |
| Is mailbox empty.
|
|
static enum MxStatus | mh_mbox_check_stats (struct Mailbox *m, uint8_t flags) |
| Check the Mailbox statistics - Implements MxOps::mbox_check_stats() -.
|
|
static void | mh_update_emails (struct MhEmailArray *mha, struct MhSequences *mhs) |
| Update our record of flags.
|
|
static int | mh_commit_msg (struct Mailbox *m, struct Message *msg, struct Email *e, bool updseq) |
| Commit a message to an MH folder.
|
|
static int | mh_rewrite_message (struct Mailbox *m, struct Email *e) |
| Sync a message in an MH folder.
|
|
static int | mh_sync_message (struct Mailbox *m, struct Email *e) |
| Sync an email to an MH folder.
|
|
static void | mh_update_mtime (struct Mailbox *m) |
| Update our record of the mailbox modification time.
|
|
static int | mh_parse_dir (struct Mailbox *m, struct MhEmailArray *mha, struct Progress *progress) |
| Read an Mh mailbox.
|
|
static int | mh_sort_path (const void *a, const void *b, void *sdata) |
| Compare two Mh Mailboxes by path - Implements sort_t -.
|
|
static struct Email * | mh_parse_message (const char *fname, struct Email *e) |
| Actually parse an MH message.
|
|
static void | mh_delayed_parsing (struct Mailbox *m, struct MhEmailArray *mha, struct Progress *progress) |
| This function does the second parsing pass.
|
|
static int | mh_move_to_mailbox (struct Mailbox *m, const struct MhEmailArray *mha) |
| Copy the Mh list to the Mailbox.
|
|
static bool | mh_read_dir (struct Mailbox *m) |
| Read an MH mailbox.
|
|
int | mh_sync_mailbox_message (struct Mailbox *m, struct Email *e, struct HeaderCache *hc) |
| Save changes to the mailbox.
|
|
static int | mh_msg_save_hcache (struct Mailbox *m, struct Email *e) |
| Save message to the header cache - Implements MxOps::msg_save_hcache() -.
|
|
static bool | mh_ac_owns_path (struct Account *a, const char *path) |
| Check whether an Account owns a Mailbox path - Implements MxOps::ac_owns_path() -.
|
|
static bool | mh_ac_add (struct Account *a, struct Mailbox *m) |
| Add a Mailbox to an Account - Implements MxOps::ac_add() -.
|
|
static enum MxOpenReturns | mh_mbox_open (struct Mailbox *m) |
| Open a Mailbox - Implements MxOps::mbox_open() -.
|
|
static bool | mh_mbox_open_append (struct Mailbox *m, OpenMailboxFlags flags) |
| Open a Mailbox for appending - Implements MxOps::mbox_open_append() -.
|
|
static bool | mh_update_flags (struct Mailbox *m, struct Email *e_old, struct Email *e_new) |
| Update the mailbox flags.
|
|
static enum MxStatus | mh_check (struct Mailbox *m) |
| Check for new mail.
|
|
static enum MxStatus | mh_mbox_check (struct Mailbox *m) |
| Check for new mail - Implements MxOps::mbox_check() -.
|
|
static enum MxStatus | mh_mbox_sync (struct Mailbox *m) |
| Save changes to the Mailbox - Implements MxOps::mbox_sync() -.
|
|
static enum MxStatus | mh_mbox_close (struct Mailbox *m) |
| Close a Mailbox - Implements MxOps::mbox_close() -.
|
|
static bool | mh_msg_open (struct Mailbox *m, struct Message *msg, struct Email *e) |
| Open an email message in a Mailbox - Implements MxOps::msg_open() -.
|
|
static bool | mh_msg_open_new (struct Mailbox *m, struct Message *msg, const struct Email *e) |
| Open a new message in a Mailbox - Implements MxOps::msg_open_new() -.
|
|
static int | mh_msg_commit (struct Mailbox *m, struct Message *msg) |
| Save changes to an email - Implements MxOps::msg_commit() -.
|
|
static int | mh_msg_close (struct Mailbox *m, struct Message *msg) |
| Close an email - Implements MxOps::msg_close() -.
|
|
static int | mh_path_canon (struct Buffer *path) |
| Canonicalise a Mailbox path - Implements MxOps::path_canon() -.
|
|
static enum MailboxType | mh_path_probe (const char *path, const struct stat *st) |
| Is this an mh Mailbox? - Implements MxOps::path_probe() -.
|
|
MH local mailbox type.
- Authors
- Richard Russon
- Austin Ray
- Pietro Cerutti
- Dennis Schön
- Copyright
- This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file mh.c.