From: Lars Ellenberg <l.g.e@web.de>
[apps/madmutt.git] / mx.h
diff --git a/mx.h b/mx.h
index a537636..74f02f1 100644 (file)
--- a/mx.h
+++ b/mx.h
@@ -102,6 +102,8 @@ typedef struct {
   void (*mx_fastclose_mailbox) (CONTEXT*);
   /* write out changes */
   int (*mx_sync_mailbox) (CONTEXT*, int, int*);
+  /* commit a message to a folder */
+  int (*mx_commit_message) (MESSAGE*, CONTEXT*);
 } mx_t;
 
 /* called from main: init all folder types */
@@ -169,4 +171,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 */