summaryrefslogtreecommitdiffstats
path: root/include/libnftables/set.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2013-09-17 16:16:22 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-09-17 16:17:59 +0200
commita0274efd21f022d4416da03a5a19be5b61f225c1 (patch)
treef991bbcc881be85a3edf1d76295272c7de0bd1a4 /include/libnftables/set.h
parent86ef92a88776bcb8a6d3a403ee2bb0ea2e3eb937 (diff)
src: add nft_*_list_del
This allows us to delete object from the list, note that nft_chain_list_del already existed. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/libnftables/set.h')
-rw-r--r--include/libnftables/set.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libnftables/set.h b/include/libnftables/set.h
index 9526ae1..4c95cf9 100644
--- a/include/libnftables/set.h
+++ b/include/libnftables/set.h
@@ -44,6 +44,7 @@ void nft_set_list_free(struct nft_set_list *list);
int nft_set_list_is_empty(struct nft_set_list *list);
void nft_set_list_add(struct nft_set *s, struct nft_set_list *list);
void nft_set_list_add_tail(struct nft_set *s, struct nft_set_list *list);
+void nft_set_list_del(struct nft_set *s);
int nft_set_list_foreach(struct nft_set_list *set_list, int (*cb)(struct nft_set *t, void *data), void *data);
struct nft_set_list_iter;