X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fipaccess.h;h=dff7234fdf87d539dfa5678c1dac4e7538216c17;hb=ba63c40936d99652f5ffe7f57a34dd79c7c8a74d;hp=fa163ea9ea37e13a1c019a474cb2174d0c82358a;hpb=1cf8ac51f5495ccd5187dc220ffc69e95d6e0cfc;p=libucw.git diff --git a/ucw/ipaccess.h b/ucw/ipaccess.h index fa163ea9..dff7234f 100644 --- a/ucw/ipaccess.h +++ b/ucw/ipaccess.h @@ -10,7 +10,14 @@ #ifndef _UCW_IPACCESS_H #define _UCW_IPACCESS_H -#include "ucw/clists.h" +#include + +#ifdef CONFIG_UCW_CLEAN_ABI +#define ip_addrmask_match ucw_ip_addrmask_match +#define ip_addrmask_type ucw_ip_addrmask_type +#define ipaccess_cf ucw_ipaccess_cf +#define ipaccess_check ucw_ipaccess_check +#endif extern struct cf_section ipaccess_cf; int ipaccess_check(clist *l, u32 ip);