blob: 9b6f574d480860ff555cdd04b8b0cc3f6f9cb661 [file] [log] [blame]
#ifndef __ACL_API
#define __ACL_API
#define NIPQUAD(addr) \
((unsigned char *)&addr)[3], \
((unsigned char *)&addr)[2], \
((unsigned char *)&addr)[1], \
((unsigned char *)&addr)[0]
#define NIPHALF(addr) \
((unsigned short *)&addr)[0], \
((unsigned short *)&addr)[1]
int SetAclEntry(struct acl_args *opt, unsigned int cmd);
int AclGetAllEntries(struct acl_list_args *opt);
#endif