X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fipaccess.h;h=291ffe8e77ead4110b69c3f9f11f3688bbb5b1ce;hb=75eea53f8050dc1482de088b3cbd081b2511c5a4;hp=fefd34a8b78f657738ccc8283054106c99dd7eaa;hpb=04294f573be8073e305f70621e6e74e2440f7f24;p=libucw.git diff --git a/lib/ipaccess.h b/lib/ipaccess.h index fefd34a8..291ffe8e 100644 --- a/lib/ipaccess.h +++ b/lib/ipaccess.h @@ -2,12 +2,13 @@ * Sherlock Library -- IP address access lists * * (c) 1997--2001 Martin Mares + * + * 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);