summaryrefslogtreecommitdiffstats
path: root/imap/imap.h
diff options
context:
space:
mode:
authorDamien Riegel <damien@riegel.io>2016-05-26 14:05:36 -0700
committerDamien Riegel <damien@riegel.io>2016-05-26 14:05:36 -0700
commitad05fc2d78e50ebfa5cac5af898b975b0cf43903 (patch)
tree0e394cc519ce19c0fe3d519099ea67f1c9de1f28 /imap/imap.h
parentacaa4e0e2b5a9959f96aad96cc198feabc068e7f (diff)
add function imap_check_mailbox_reopen
In mx_check_mailbox, imap mailbox is the only function with a different prototype: it has an extra force argument. In order to move the check operation to the mx_ops structure, we need that all mailboxes have the same prototype. To do so, a new function imap_check_mailbox_reopen is added.
Diffstat (limited to 'imap/imap.h')
-rw-r--r--imap/imap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/imap/imap.h b/imap/imap.h
index 132ae2b9..1defdd47 100644
--- a/imap/imap.h
+++ b/imap/imap.h
@@ -34,6 +34,7 @@ typedef struct
/* imap.c */
int imap_access (const char*, int);
int imap_check_mailbox (CONTEXT *ctx, int *index_hint, int force);
+int imap_check_mailbox_reopen (CONTEXT *ctx, int *index_hint);
int imap_delete_mailbox (CONTEXT* idata, IMAP_MBOX mx);
int imap_open_mailbox_append (CONTEXT *ctx);
int imap_sync_mailbox (CONTEXT *ctx, int expunge, int *index_hint);