From d1e7922a587a239e16e0dbe654e63f76e1375e49 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Fri, 4 Jan 2013 20:27:11 +0100 Subject: libxtables: add xtables_rule_matches_free This function is shared by iptables and ip6tables. Signed-off-by: Pablo Neira Ayuso --- include/xtables.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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); -- cgit v1.2.3