X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=acl.h;fp=acl.h;h=34686e91f50b50c4a4652c2420721015acbe68e0;hb=d1f8e90ef5f123b11c58a143e8a786d9623ac4d7;hp=994fd6fe29c1d337158d24b8fb0058d65fb6d0ec;hpb=0f6df2322c12b1cc20dea08bb6c397465d4f5b46;p=paraslash.git diff --git a/acl.h b/acl.h index 994fd6fe..34686e91 100644 --- a/acl.h +++ b/acl.h @@ -1,8 +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, +void acl_init(struct list_head *acl, char * const *acl_info, int num); +int acl_lookup(int fd, struct list_head *acl); +void acl_add_entry(struct list_head *acl, struct in_addr addr, int netmask); -void del_acl_entry(struct list_head *acl, struct in_addr addr, +void acl_del_entry(struct list_head *acl, struct in_addr addr, int netmask); -char *get_acl_contents(struct list_head *acl); +char *acl_get_contents(struct list_head *acl);