X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mh.h;h=4764f7add31d81613ca5065c8d2ae3f930af1bf9;hp=e395254b8d28f23c6240b8dea5566252fb8f2561;hb=bd5c6e968ae1f29f5819d1e39ec104cc632ad545;hpb=9a1805afc94b21d8766e6e67ef57f92aaf966e84 diff --git a/mh.h b/mh.h index e395254..4764f7a 100644 --- a/mh.h +++ b/mh.h @@ -15,21 +15,15 @@ #ifndef _MH_H #define _MH_H -#include - #include "mx.h" /* TODO all of these must disappear to achieve good information hiding */ -int mh_check_mailbox (CONTEXT *, int *); int mh_buffy (const char *); -int mh_commit_message (CONTEXT *, MESSAGE *, HEADER *); -int mh_open_new_message (MESSAGE *, CONTEXT *, HEADER *); - -int maildir_check_mailbox (CONTEXT *, int *); -int maildir_commit_message (CONTEXT *, MESSAGE *, HEADER *); -int maildir_open_new_message (MESSAGE *, CONTEXT *, HEADER *); FILE *maildir_open_find_message (const char *, const char *); +int mh_valid_message (const char *); + +/* these are the only publicly visible for usage */ mx_t* maildir_reg_mx (void); mx_t* mh_reg_mx (void);