8 #ifndef ACL_IPLINK_INCLUDE_H 9 #define ACL_IPLINK_INCLUDE_H 19 #define ACL_IPITEM ACL_DITEM 20 #define ACL_IPLINK ACL_DLINK 31 unsigned int ip_begin,
unsigned int ip_end);
33 const char *pstrip_begin,
const char *pstrip_end);
35 const char *pstrip_begin);
38 const char *pstrip_begin,
const char *pstrip_end);
ACL_API int acl_iplink_list(const ACL_IPLINK *plink)
ACL_API int acl_iplink_delete_by_ip(ACL_IPLINK *plink, const char *pstrip_begin)
ACL_API ACL_IPITEM * acl_iplink_lookup_item(const ACL_IPLINK *plink, ACL_IPITEM *pitem)
ACL_API int acl_iplink_count_item(ACL_IPLINK *plink)
ACL_API ACL_IPITEM * acl_iplink_insert_bin(ACL_IPLINK *plink, unsigned int ip_begin, unsigned int ip_end)
ACL_API ACL_IPITEM * acl_iplink_lookup_bin(const ACL_IPLINK *plink, unsigned int ip)
ACL_API void acl_iplink_free(ACL_IPLINK *plink)
ACL_API ACL_IPITEM * acl_iplink_insert(ACL_IPLINK *plink, const char *pstrip_begin, const char *pstrip_end)
ACL_API int acl_iplink_delete_by_item(ACL_IPLINK *plink, ACL_IPITEM *pitem)
ACL_API ACL_IPITEM * acl_iplink_lookup_str(const ACL_IPLINK *plink, const char *ip)
ACL_API ACL_IPITEM * acl_iplink_modify(ACL_IPLINK *plink, const char *pstrip_id, const char *pstrip_begin, const char *pstrip_end)
ACL_API ACL_IPLINK * acl_iplink_create(int nsize)