#ifndef ACL_H
#define ACL_H
#include "../public/acl.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct SysACL {
ACLList *acl;
uid_t user_uid;
gid_t user_gid;
} SysACL;
int wsacl_affects_user(WSAce *ace, User *user);
int wsacl_check(WSAcl *acl, User *user,
int access_mask);
int fs_acl_check(SysACL *acl, User *user,
char *path,
uint32_t access_mask);
void fs_acl_finish();
#ifdef __cplusplus
}
#endif
#endif