diff options
author | Holger Eitzenberger <holger@eitzenberger.org> | 2011-02-01 17:30:57 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2011-02-01 17:30:57 +0100 |
commit | 236c10d33b1027d83caf6127336b924e81d32135 (patch) | |
tree | 42bd2a094e27cbfa701a648368808a3bd8e8623a /include | |
parent | 77ae557f809e0f8cb33d1514934fe3876c6fd798 (diff) | |
download | ipset-236c10d33b1027d83caf6127336b924e81d32135.tar.gz |
ipset: pass ipset_arg argument pointer
Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
Diffstat (limited to 'include')
-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, |