Rocco Rutte:
[apps/madmutt.git] / mh.h
1 /*
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>
5  *
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.
9  */
10
11 /*
12  * functions for dealing with Maildir/MH style mailboxes
13  */
14
15 #ifndef _MH_H
16 #define _MH_H
17
18 #include <sys/stat.h>
19
20 #include "mx.h"
21
22 /* TODO all of these must disappear to achieve good information hiding */
23
24 int mh_buffy (const char *);
25 int mh_commit_message (CONTEXT *, MESSAGE *, HEADER *);
26
27 int maildir_commit_message (CONTEXT *, MESSAGE *, HEADER *);
28 FILE *maildir_open_find_message (const char *, const char *);
29
30 mx_t* maildir_reg_mx (void);
31 mx_t* mh_reg_mx (void);
32
33 #endif /* !_MH_H */