diff options
Diffstat (limited to 'ipset.h')
-rw-r--r-- | ipset.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |