0e53ce0520b4687076c66e8addab95ffd2e70c90
2 * Copyright (C) 2008 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(struct in_addr addr
, int netmask
,
13 struct list_head
*acl
, int default_deny
);
14 void acl_deny(struct in_addr addr
, int netmask
,
15 struct list_head
*acl
, int default_deny
);