]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - acl.h
Move acl functions to separate file acl.c.
[paraslash.git] / acl.h
diff --git a/acl.h b/acl.h
new file mode 100644 (file)
index 0000000..994fd6f
--- /dev/null
+++ b/acl.h
@@ -0,0 +1,8 @@
+
+void init_acl(struct list_head *acl, char * const *acl_info, int num);
+int host_in_acl(int fd, struct list_head *acl);
+void add_acl_entry(struct list_head *acl, struct in_addr addr,
+               int netmask);
+void del_acl_entry(struct list_head *acl, struct in_addr addr,
+               int netmask);
+char *get_acl_contents(struct list_head *acl);