2 * UCW Library -- IP address access lists
4 * (c) 1997--2006 Martin Mares <mj@ucw.cz>
6 * This software may be freely distributed and used according to the terms
7 * of the GNU Lesser General Public License.
10 #ifndef _UCW_IPACCESS_H
11 #define _UCW_IPACCESS_H
13 #include "lib/clists.h"
15 extern struct cf_section ipaccess_cf;
16 int ipaccess_check(clist *l, u32 ip);
18 /* FIXME: Hacks to make older modules compile */
19 struct ipaccess_list { };
20 #define ipaccess_init() NULL
21 #define ipaccess_parse(x,y,z) NULL
22 #define ipaccess_check_xxx(x,y) 0