summaryrefslogtreecommitdiffstats
path: root/imap/mailboxlist.h
diff options
context:
space:
mode:
authorSam Varshavchik2013-08-19 16:39:41 -0400
committerSam Varshavchik2013-08-25 14:43:51 -0400
commit9c45d9ad13fdf439d44d7443ae75da15ea0223ed (patch)
tree7a81a04cb51efb078ee350859a64be2ebc6b8813 /imap/mailboxlist.h
parenta9520698b770168d1f33d6301463bb70a19655ec (diff)
downloadcourier-libs-9c45d9ad13fdf439d44d7443ae75da15ea0223ed.tar.bz2
Initial checkin
Imported from subversion report, converted to git. Updated all paths in scripts and makefiles, reflecting the new directory hierarchy.
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