summaryrefslogtreecommitdiffstats
path: root/imap/mailboxlist.h
blob: 4725422e3c9c5def36b79cc865fe6219b89624f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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