replace the pathetic mutt_parse_rfc822_line function with a really better
[apps/madmutt.git] / mx.h
diff --git a/mx.h b/mx.h
index 4e09442..ccbe239 100644 (file)
--- a/mx.h
+++ b/mx.h
 
 #include <sys/stat.h>
 #include <utime.h>
+#include <stdio.h>
+
+#include "mutt.h"
 
 /*
  * supported mailbox formats
  * in mx_init() the registration order must be exactly as given here!!!1!
  */
 enum {
-  M_MBOX = 1,
-  M_MMDF,
-  M_MH,
-  M_MAILDIR
-#ifdef USE_IMAP
-    , M_IMAP
-#endif
-#ifdef USE_POP
-    , M_POP
-#endif
+    M_MBOX = 1,
+    M_MMDF,
+    M_MH,
+    M_MAILDIR,
+    M_IMAP,
+    M_POP,
 #ifdef USE_NNTP
-    , M_NNTP
-#endif
-#ifdef USE_COMPRESSED
-    , M_COMPRESSED
+    M_NNTP,
 #endif
+    M_COMPRESSED
 };
 
 enum {
@@ -171,4 +168,6 @@ void mx_update_tables (CONTEXT *, int);
 int mx_lock_file (const char *, int, int, int, int);
 int mx_unlock_file (const char *path, int fd, int dot);
 
+int mx_rebuild_cache (void);
+
 #endif /* !_MX_H */