2 * Copyright notice from original mutt:
3 * Copyright (C) 1996-2002 Michael R. Elkins <me@mutt.org>
4 * Copyright (C) 1999-2002 Thomas Roessler <roessler@does-not-exist.org>
6 * This file is part of mutt-ng, see http://www.muttng.org/.
7 * It's licensed under the GNU General Public License,
8 * please see the file GPL in the top level source directory.
12 * functions for dealing with mbox/mmdf style mailboxes
22 /* TODO all of these must disappear to achieve good information hiding */
24 #define MMDF_SEP "\001\001\001\001\n"
26 int mbox_close_mailbox (CONTEXT *);
27 int mbox_lock_mailbox (CONTEXT *, int, int);
28 void mbox_unlock_mailbox (CONTEXT *);
29 int mbox_check_empty (const char*);
30 int mbox_is_magic (const char*, struct stat*);
32 mx_t* mbox_reg_mx (void);
33 mx_t* mmdf_reg_mx (void);