]> mj.ucw.cz Git - libucw.git/blobdiff - lib/ipaccess.h
Added special mode for sorting of regular files.
[libucw.git] / lib / ipaccess.h
index fefd34a8b78f657738ccc8283054106c99dd7eaa..291ffe8e77ead4110b69c3f9f11f3688bbb5b1ce 100644 (file)
@@ -2,12 +2,13 @@
  *     Sherlock 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);