path: root/ipset.h
diff options
author/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kadlec/ </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kadlec/>2005-10-13 08:55:32 +0000
committer/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kadlec/ </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kadlec/>2005-10-13 08:55:32 +0000
commitf08fd20fb6a2ea4afb92c904dc6852bf01118f95 (patch)
tree75a34c6e632a9d9d402ea9ec199de59ccae826da /ipset.h
parentedd0ad6de4fcfd0091312add44b783b605984406 (diff)
ipporthash set type added plus manpage corrections (JK)
Diffstat (limited to 'ipset.h')
1 files changed, 3 insertions, 1 deletions
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);