From f08fd20fb6a2ea4afb92c904dc6852bf01118f95 Mon Sep 17 00:00:00 2001 From: "/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kadlec/emailAddress=kadlec@netfilter.org" Date: Thu, 13 Oct 2005 08:55:32 +0000 Subject: ipporthash set type added plus manpage corrections (JK) --- ipset.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ipset.h') diff --git a/ipset.h b/ipset.h index 3b41760..f71ff1c 100644 --- a/ipset.h +++ b/ipset.h @@ -146,7 +146,7 @@ struct settype { void (*saveips) (struct set *set, void *data, size_t len, unsigned options); /* Conver a single IP (binding) to string */ - char * (*bindip_tostring)(ip_set_ip_t ip, unsigned options); + char * (*bindip_tostring)(struct set *set, ip_set_ip_t ip, unsigned options); /* Parse an IP at restoring bindings. FIXME */ void (*bindip_parse) (const char *str, ip_set_ip_t * ip); @@ -167,6 +167,8 @@ extern void settype_register(struct settype *settype); extern void exit_error(enum exittype status, char *msg, ...); +extern char *binding_ip_tostring(struct set *set, + ip_set_ip_t ip, unsigned options); extern char *ip_tostring(ip_set_ip_t ip, unsigned options); extern char *ip_tostring_numeric(ip_set_ip_t ip); extern void parse_ip(const char *str, ip_set_ip_t * ip); -- cgit v1.2.3