From 4e8dff2cb4da818a937f8c0efa1a0d73b632297e Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sat, 24 Jul 2021 12:07:27 +0200 Subject: src: expose nft_ctx_clear_vars as API This function might be useful to recycle the existing nft_ctx to use it with different external variable definitions. Moreover, reset ctx->num_vars to zero. Signed-off-by: Pablo Neira Ayuso --- src/libnftables.map | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libnftables.map') diff --git a/src/libnftables.map b/src/libnftables.map index 46d64a38..d3a795ce 100644 --- a/src/libnftables.map +++ b/src/libnftables.map @@ -26,4 +26,5 @@ local: *; LIBNFTABLES_2 { nft_ctx_add_var; + nft_ctx_clear_vars; } LIBNFTABLES_1; -- cgit v1.2.3