2 * Copyright (C) 2008-2011 Andre Noll <maan@systemlinux.org>
4 * Licensed under the GPL v2. For licencing details see COPYING.
7 /** \file acl.h Exported functions of acl.c. */
9 void acl_init(struct list_head
*acl
, char * const *acl_info
, int num
);
10 char *acl_get_contents(struct list_head
*acl
);
11 int acl_check_access(int fd
, struct list_head
*acl
, int default_deny
);
12 void acl_allow(char *addr
, int mask
, struct list_head
*acl
, int default_deny
);
13 void acl_deny(char *addr
, int mask
, struct list_head
*acl
, int default_deny
);