1 /* Copyright (C) 2008 Andre Noll <maan@tuebingen.mpg.de>, see file COPYING. */
3 /** \file acl.h Exported functions of acl.c. */
5 void acl_add_entry(struct list_head *acl, char *addr, int netmask);
6 char *acl_get_contents(struct list_head *acl);
7 int acl_check_access(int fd, struct list_head *acl, int default_deny);
8 void acl_allow(char *addr, int mask, struct list_head *acl, int default_deny);
9 void acl_deny(char *addr, int mask, struct list_head *acl, int default_deny);