#ifndef ACL_H
#define ACL_H

#define ACL_READ 	1
#define ACL_ADD 	2
#define ACL_LIST 	4
#define ACL_REPLACE 	8
#define ACL_DELETE 	16
#define ACL_MKDIR 	32
#define ACL_RMDIR 	64
#define ACL_WRITE 	128
#define ACL_CHMOD	256
#define ACL_CHDIR	512

typedef struct
{
	char *dir;
	int regexp;
	int attr;
} ACL;

typedef struct
{
	ACL *acls;
	int aclcount;
} ACLLIST;
							
#endif /* ACL_H */


syntax highlighted by Code2HTML, v. 0.9.1