Back to index

courier  0.68.2
mailboxlist.h
Go to the documentation of this file.
00001 #ifndef       mailboxlist_h
00002 #define       mailboxlist_h
00003 
00004 
00005 #include "config.h"
00006 
00007 /*
00008 ** Copyright 1998 - 2003 Double Precision, Inc.
00009 ** See COPYING for distribution information.
00010 */
00011 
00012 #define MAILBOX_MARKED             0x0001
00013 #define MAILBOX_UNMARKED    0x0002
00014 #define MAILBOX_NOCHILDREN  0x0004
00015 #define MAILBOX_NOINFERIORS 0x0008
00016 #define MAILBOX_CHILDREN    0x0010
00017 #define MAILBOX_NOSELECT    0x0020
00018 
00019 #define LIST_SUBSCRIBED            0x0100
00020 #define LIST_ACL            0x0200
00021 #define LIST_MYRIGHTS              0x0400
00022 #define LIST_POSTADDRESS    0x0800
00023 #define LIST_CHECK1FOLDER   0x1000
00024 
00025 int mailbox_scan(const char *ref, const char *name,
00026                int list_options,
00027                int (*callback_func)(const char *hiersep,
00028                                   const char *mailbox,
00029                                   int flags,
00030                                   void *void_arg),
00031                void *void_arg);
00032 
00033 #endif