fix regression. make the hook types be ints.
[apps/madmutt.git] / mh.h
diff --git a/mh.h b/mh.h
index cdc51d0..65f8247 100644 (file)
--- a/mh.h
+++ b/mh.h
 
 #include "mx.h"
 
-int mh_read_dir (CONTEXT *);
-int mh_sync_mailbox (CONTEXT *, int *);
-int mh_check_mailbox (CONTEXT *, int *);
+/* TODO all of these must disappear to achieve good information hiding */
+
 int mh_buffy (const char *);
-int mh_check_empty (const char *);
-int mh_commit_message (CONTEXT *, MESSAGE *, HEADER *);
-int mh_open_new_message (MESSAGE *, CONTEXT *, HEADER *);
-
-int maildir_read_dir (CONTEXT *);
-int maildir_check_mailbox (CONTEXT *, int *);
-int maildir_check_empty (const char *);
-int maildir_commit_message (CONTEXT *, MESSAGE *, HEADER *);
-int maildir_open_new_message (MESSAGE *, CONTEXT *, HEADER *);
 FILE *maildir_open_find_message (const char *, const char *);
 
+/* these are the only publicly visible for usage */
+
 mx_t* maildir_reg_mx (void);
 mx_t* mh_reg_mx (void);