]> mj.ucw.cz Git - libucw.git/blobdiff - lib/ipaccess.h
CONFIG_INCREMENTAL doesn't belong to the free version
[libucw.git] / lib / ipaccess.h
index fefd34a8b78f657738ccc8283054106c99dd7eaa..aedb15877db744578b698ef0e55e8276ee4fc62d 100644 (file)
@@ -1,13 +1,14 @@
 /*
- *     Sherlock Library -- IP address access lists
+ *     UCW Library -- IP address access lists
  *
  *     (c) 1997--2001 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"
-
-typedef list ipaccess_list;
+struct ipaccess_list;
 
-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);
+struct ipaccess_list *ipaccess_init(void);
+byte *ipaccess_parse(struct ipaccess_list *l, byte *c, int is_allow);
+int ipaccess_check(struct ipaccess_list *l, u32 ip);