Fix afs signal handling.
[paraslash.git] / acl.h
1 /*
2  * Copyright (C) 2008 Andre Noll <maan@systemlinux.org>
3  *
4  * Licensed under the GPL v2. For licencing details see COPYING.
5  */
6
7 /** \file acl.h Exported functions of acl.c. */
8
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);