]> mj.ucw.cz Git - libucw.git/blob - lib/ipaccess.h
Added a library module for generation of cryptographically secure
[libucw.git] / lib / ipaccess.h
1 /*
2  *      Sherlock Library -- IP address access lists
3  *
4  *      (c) 1997--2001 Martin Mares <mj@ucw.cz>
5  */
6
7 struct ipaccess_list;
8
9 struct ipaccess_list *ipaccess_init(void);
10 byte *ipaccess_parse(struct ipaccess_list *l, byte *c, int is_allow);
11 int ipaccess_check(struct ipaccess_list *l, u32 ip);