summaryrefslogtreecommitdiffstats
path: root/sqwebmail/acl.h
blob: 96180c34c9ed42f86756edfce9b41e343670cf06 (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
/*
*/
#ifndef	acl_h
#define	acl_h

/*
** Copyright 2004 Double Precision, Inc.  See COPYING for
** distribution information.
*/


#include	"config.h"

#include	"maildir/maildiraclt.h"
#include	"maildir/maildirinfo.h"

int acl_read(maildir_aclt_list *l, const char *folder,
	     char **owner);
int acl_read2(maildir_aclt_list *l,
	      struct maildir_info *minfo,
	      char **owner);
void acl_computeRights(maildir_aclt_list *l, char *rights,
		       const char *owner);

void acl_computeRightsOnFolder(const char *folder, char *rights);

#endif