|
bool | mh_mkstemp (struct Mailbox *m, FILE **fp, char **tgt) |
| Create a temporary file. More...
|
|
static int | mh_already_notified (struct Mailbox *m, int msgno) |
| Has the message changed. More...
|
|
static bool | mh_valid_message (const char *s) |
| Is this a valid MH message filename. More...
|
|
int | mh_check_empty (const char *path) |
| Is mailbox empty. More...
|
|
static enum MxStatus | mh_mbox_check_stats (struct Mailbox *m, uint8_t flags) |
| Check the Mailbox statistics - Implements MxOps::mbox_check_stats() -. More...
|
|
static void | mh_update_maildir (struct MdEmailArray *mda, struct MhSequences *mhs) |
| Update our record of flags. More...
|
|
static int | mh_commit_msg (struct Mailbox *m, struct Message *msg, struct Email *e, bool updseq) |
| Commit a message to an MH folder. More...
|
|
static int | mh_rewrite_message (struct Mailbox *m, int msgno) |
| Sync a message in an MH folder. More...
|
|
static int | mh_sync_message (struct Mailbox *m, int msgno) |
| Sync an email to an MH folder. More...
|
|
static void | mh_update_mtime (struct Mailbox *m) |
| Update our record of the Maildir modification time. More...
|
|
static int | mh_parse_dir (struct Mailbox *m, struct MdEmailArray *mda, struct Progress *progress) |
| Read a Maildir mailbox. More...
|
|
static int | mh_cmp_path (const void *a, const void *b) |
| Compare two Maildirs by path - Implements sort_t -. More...
|
|
static struct Email * | mh_parse_message (const char *fname, struct Email *e) |
| Actually parse an MH message. More...
|
|
static void | mh_delayed_parsing (struct Mailbox *m, struct MdEmailArray *mda, struct Progress *progress) |
| This function does the second parsing pass. More...
|
|
static bool | mh_read_dir (struct Mailbox *m) |
| Read an MH mailbox. More...
|
|
int | mh_sync_mailbox_message (struct Mailbox *m, int msgno, struct HeaderCache *hc) |
| Save changes to the mailbox. More...
|
|
static int | mh_msg_save_hcache (struct Mailbox *m, struct Email *e) |
| Save message to the header cache - Implements MxOps::msg_save_hcache() -. More...
|
|
static bool | mh_ac_owns_path (struct Account *a, const char *path) |
| Check whether an Account own a Mailbox path - Implements MxOps::ac_owns_path() -. More...
|
|
static bool | mh_ac_add (struct Account *a, struct Mailbox *m) |
| Add a Mailbox to an Account - Implements MxOps::ac_add() -. More...
|
|
static enum MxOpenReturns | mh_mbox_open (struct Mailbox *m) |
| Open a Mailbox - Implements MxOps::mbox_open() -. More...
|
|
static bool | mh_mbox_open_append (struct Mailbox *m, OpenMailboxFlags flags) |
| Open a Mailbox for appending - Implements MxOps::mbox_open_append() -. More...
|
|
static enum MxStatus | mh_mbox_check (struct Mailbox *m) |
| Check for new mail - Implements MxOps::mbox_check() -. More...
|
|
static enum MxStatus | mh_mbox_sync (struct Mailbox *m) |
| Save changes to the Mailbox - Implements MxOps::mbox_sync() -. More...
|
|
static enum MxStatus | mh_mbox_close (struct Mailbox *m) |
| Close a Mailbox - Implements MxOps::mbox_close() -. More...
|
|
static bool | mh_msg_open (struct Mailbox *m, struct Message *msg, int msgno) |
| Open an email message in a Mailbox - Implements MxOps::msg_open() -. More...
|
|
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() -. More...
|
|
static int | mh_msg_commit (struct Mailbox *m, struct Message *msg) |
| Save changes to an email - Implements MxOps::msg_commit() -. More...
|
|
static int | mh_msg_close (struct Mailbox *m, struct Message *msg) |
| Close an email - Implements MxOps::msg_close() -. More...
|
|
static int | mh_path_canon (char *buf, size_t buflen) |
| Canonicalise a Mailbox path - Implements MxOps::path_canon() -. More...
|
|
static int | mh_path_parent (char *buf, size_t buflen) |
| Find the parent of a Mailbox path - Implements MxOps::path_parent() -. More...
|
|
static int | mh_path_pretty (char *buf, size_t buflen, const char *folder) |
| Abbreviate a Mailbox path - Implements MxOps::path_pretty() -. More...
|
|
static enum MailboxType | mh_path_probe (const char *path, const struct stat *st) |
| Is this an mh Mailbox? - Implements MxOps::path_probe() -. More...
|
|
MH local mailbox type.
- Authors
- Michael R. Elkins
- Thomas Roessler
- Michael R. Elkins
- Richard Russon
- 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.