#include "account.h"
#include "browser.h"
-#include "mailbox.h"
+#include "mx.h"
/* -- data structures -- */
typedef struct {
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);