#ifndef _MH_H
#define _MH_H
-#include <sys/stat.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 *);
-
-/* these are the only publicly visible for usage */
-
-mx_t* maildir_reg_mx (void);
-mx_t* mh_reg_mx (void);
+int mh_valid_message (const char *);
#endif /* !_MH_H */