/*
- * Sherlock Library -- IP address access lists
+ * UCW Library -- IP address access lists
*
- * (c) 1997--2001 Martin Mares <mj@ucw.cz>
+ * (c) 1997--2006 Martin Mares <mj@ucw.cz>
+ *
+ * This software may be freely distributed and used according to the terms
+ * of the GNU Lesser General Public License.
*/
-#include "lib/lists.h"
+#ifndef _UCW_IPACCESS_H
+#define _UCW_IPACCESS_H
+
+#include "lib/clists.h"
-typedef list ipaccess_list;
+extern struct cf_section ipaccess_cf;
+int ipaccess_check(clist *l, u32 ip);
-void ipaccess_init(ipaccess_list *l);
-byte *ipaccess_parse(ipaccess_list *l, byte *c, int is_allow);
-int ipaccess_check(ipaccess_list *l, u32 ip);
+#endif