create the lib-mx now
[apps/madmutt.git] / lib-mx / mh.h
diff --git a/lib-mx/mh.h b/lib-mx/mh.h
new file mode 100644 (file)
index 0000000..77722a8
--- /dev/null
@@ -0,0 +1,29 @@
+/*
+ * Copyright notice from original mutt:
+ * Copyright (C) 1996-2002 Michael R. Elkins <me@mutt.org>
+ * Copyright (C) 1999-2002 Thomas Roessler <roessler@does-not-exist.org>
+ *
+ * This file is part of mutt-ng, see http://www.muttng.org/.
+ * It's licensed under the GNU General Public License,
+ * please see the file GPL in the top level source directory.
+ */
+
+/*
+ * functions for dealing with Maildir/MH style mailboxes
+ */
+
+#ifndef _MH_H
+#define _MH_H
+
+#include "mx.h"
+
+extern mx_t const maildir_mx;
+extern mx_t const mh_mx;
+
+/* TODO all of these must disappear to achieve good information hiding */
+
+int mh_buffy (const char *);
+FILE *maildir_open_find_message (const char *, const char *);
+int mh_valid_message (const char *);
+
+#endif /* !_MH_H */