summaryrefslogtreecommitdiffstats
path: root/include/xtables.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2013-01-04 20:27:11 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2013-01-04 20:27:13 +0100
commitd1e7922a587a239e16e0dbe654e63f76e1375e49 (patch)
tree274b7089d63569530743e70305f8c23885c672fe /include/xtables.h
parent31da96d07b8abb35297201000f7f752019258cf6 (diff)
libxtables: add xtables_rule_matches_free
This function is shared by iptables and ip6tables. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/xtables.h')
-rw-r--r--include/xtables.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/xtables.h b/include/xtables.h
index 2cc1a028..add76ae5 100644
--- a/include/xtables.h
+++ b/include/xtables.h
@@ -417,6 +417,8 @@ extern struct xtables_match *xtables_find_match(const char *name,
extern struct xtables_target *xtables_find_target(const char *name,
enum xtables_tryload);
+extern void xtables_rule_matches_free(struct xtables_rule_match **matches);
+
/* Your shared library should call one of these. */
extern void xtables_register_match(struct xtables_match *me);
extern void xtables_register_matches(struct xtables_match *, unsigned int);