summaryrefslogtreecommitdiffstats
path: root/src/libnftables.map
diff options
context:
space:
mode:
authorArturo Borrero <arturo.borrero.glez@gmail.com>2013-07-11 10:44:13 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-07-15 13:09:11 +0200
commitef23c5a37590d7b444d9d6bdfd764cf9fbd4c308 (patch)
tree35801a12918f1aa8cc474f0eba033ee12ce22f28 /src/libnftables.map
parentef8f2163fa30791c7561b958773d1aa6ebfb1469 (diff)
src: add nft_*_list_is_empty() functions
This functions check if a given nft_*_list is empty or not. I found this quite useful while working with a full ruleset. Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/libnftables.map')
-rw-r--r--src/libnftables.map4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libnftables.map b/src/libnftables.map
index 9546bca..a60b943 100644
--- a/src/libnftables.map
+++ b/src/libnftables.map
@@ -17,6 +17,7 @@ global:
nft_table_nlmsg_parse;
nft_table_list_alloc;
nft_table_list_free;
+ nft_table_list_is_empty;
nft_table_list_foreach;
nft_table_list_add;
nft_table_list_iter_create;
@@ -44,6 +45,7 @@ global:
nft_chain_nlmsg_parse;
nft_chain_list_alloc;
nft_chain_list_free;
+ nft_chain_list_is_empty;
nft_chain_list_add;
nft_chain_list_del;
nft_chain_list_foreach;
@@ -94,6 +96,7 @@ global:
nft_rule_list_alloc;
nft_rule_list_free;
+ nft_rule_list_is_empty;
nft_rule_list_add;
nft_rule_list_foreach;
nft_rule_list_iter_create;
@@ -119,6 +122,7 @@ global:
nft_set_list_alloc;
nft_set_list_free;
nft_set_list_add;
+ nft_set_list_is_empty;
nft_set_list_foreach;
nft_set_list_iter_create;