diff options
Diffstat (limited to 'include/libipset/parse.h')
-rw-r--r-- | include/libipset/parse.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/libipset/parse.h b/include/libipset/parse.h index e87a60d..760df49 100644 --- a/include/libipset/parse.h +++ b/include/libipset/parse.h @@ -17,6 +17,7 @@ #define IPSET_PROTO_SEPARATOR ":" struct ipset_session; +struct ipset_arg; typedef int (*ipset_parsefn)(struct ipset_session *s, enum ipset_opt opt, const char *str); @@ -84,8 +85,8 @@ extern int ipset_parse_ignored(struct ipset_session *session, extern int ipset_parse_elem(struct ipset_session *session, enum ipset_opt opt, const char *str); extern int ipset_call_parser(struct ipset_session *session, - ipset_parsefn parse, const char *optstr, - enum ipset_opt optional, const char *str); + const struct ipset_arg *arg, + const char *str); /* Compatibility parser functions */ extern int ipset_parse_iptimeout(struct ipset_session *session, |