fix mutt compilation, that's ugly, but it works for now
[apps/madmutt.git] / mh.h
diff --git a/mh.h b/mh.h
index 011045e..65f8247 100644 (file)
--- a/mh.h
+++ b/mh.h
 #ifndef _MH_H
 #define _MH_H
 
-#include "mx.h"
+#include <sys/stat.h>
 
-int mh_read_dir (CONTEXT *, const char *);
-int mh_sync_mailbox (CONTEXT *, int *);
-int mh_check_mailbox (CONTEXT *, int *);
-int mh_buffy (const char *);
-int mh_check_empty (const char *);
+#include "mx.h"
 
-int maildir_read_dir (CONTEXT *);
-int maildir_check_mailbox (CONTEXT *, int *);
-int maildir_check_empty (const char *);
+/* TODO all of these must disappear to achieve good information hiding */
 
-int maildir_commit_message (CONTEXT *, MESSAGE *, HEADER *);
-int mh_commit_message (CONTEXT *, MESSAGE *, HEADER *);
+int mh_buffy (const char *);
+FILE *maildir_open_find_message (const char *, const char *);
 
-int maildir_open_new_message (MESSAGE *, CONTEXT *, HEADER *);
-int mh_open_new_message (MESSAGE *, CONTEXT *, HEADER *);
+/* these are the only publicly visible for usage */
 
-FILE *maildir_open_find_message (const char *, const char *);
+mx_t* maildir_reg_mx (void);
+mx_t* mh_reg_mx (void);
 
 #endif /* !_MH_H */