summaryrefslogtreecommitdiffstats
path: root/src/libnftnl.map
diff options
context:
space:
mode:
authorAlvaro Neira <alvaroneay@gmail.com>2015-03-12 17:33:09 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2015-03-13 12:18:20 +0100
commitd27456460a2867d69a6bbed8aa0019f65ab42eac (patch)
treec9f216ed01188d7e0e784d272c3057f5452a3959 /src/libnftnl.map
parent1f92b04760f65c28498e7c4e20e8037fe66ecf44 (diff)
ruleset: add nft_ruleset_ctx_free
This function releases the ruleset objects attached in the parse context structure, ie. struct nft_parse_ctx. Moreover, this patch updates the nft_parse_ruleset_file to use it. Signed-off-by: Alvaro Neira Ayuso <alvaroneay@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/libnftnl.map')
-rw-r--r--src/libnftnl.map1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libnftnl.map b/src/libnftnl.map
index 7c74fbc..c0b2031 100644
--- a/src/libnftnl.map
+++ b/src/libnftnl.map
@@ -234,4 +234,5 @@ LIBNFTNL_1.2.0 {
nft_ruleset_ctx_get_u32;
nft_ruleset_parse_file_cb;
nft_ruleset_parse_buffer_cb;
+ nft_ruleset_ctx_free;
} LIBNFTNL_1.2;