summaryrefslogtreecommitdiffstats
path: root/imap/mailboxlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'imap/mailboxlist.h')
-rw-r--r--imap/mailboxlist.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/imap/mailboxlist.h b/imap/mailboxlist.h
new file mode 100644
index 0000000..4725422
--- /dev/null
+++ b/imap/mailboxlist.h
@@ -0,0 +1,33 @@
+#ifndef mailboxlist_h
+#define mailboxlist_h
+
+
+#include "config.h"
+
+/*
+** Copyright 1998 - 2003 Double Precision, Inc.
+** See COPYING for distribution information.
+*/
+
+#define MAILBOX_MARKED 0x0001
+#define MAILBOX_UNMARKED 0x0002
+#define MAILBOX_NOCHILDREN 0x0004
+#define MAILBOX_NOINFERIORS 0x0008
+#define MAILBOX_CHILDREN 0x0010
+#define MAILBOX_NOSELECT 0x0020
+
+#define LIST_SUBSCRIBED 0x0100
+#define LIST_ACL 0x0200
+#define LIST_MYRIGHTS 0x0400
+#define LIST_POSTADDRESS 0x0800
+#define LIST_CHECK1FOLDER 0x1000
+
+int mailbox_scan(const char *ref, const char *name,
+ int list_options,
+ int (*callback_func)(const char *hiersep,
+ const char *mailbox,
+ int flags,
+ void *void_arg),
+ void *void_arg);
+
+#endif