rationnalize includes a lot:
[apps/madmutt.git] / imap / imap.h
index acf572e..6d661e6 100644 (file)
@@ -13,7 +13,7 @@
 
 #include "account.h"
 #include "browser.h"
-#include "mailbox.h"
+#include "mx.h"
 
 /* -- data structures -- */
 typedef struct {
@@ -31,6 +31,7 @@ int imap_sync_mailbox (CONTEXT * ctx, int expunge, int *index_hint);
 void imap_close_mailbox (CONTEXT * ctx);
 int imap_buffy_check (char *path);
 int imap_mailbox_check (char *path, int new);
+int imap_search (CONTEXT* ctx, const pattern_t* pat);
 int imap_subscribe (char *path, int subscribe);
 int imap_complete (char *dest, size_t dlen, char *path);