From 56d5d7b0d445f66f7ba42d26d5cc535926c0426b Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 15 Apr 2021 15:06:07 +0200 Subject: cache: add set_cache_del() and use it Update set_cache_del() from the monitor path to remove sets in the cache. Fixes: df48e56e987f ("cache: add hashtable cache for sets") Signed-off-by: Pablo Neira Ayuso --- include/cache.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/cache.h b/include/cache.h index 992f993c..f5b4876a 100644 --- a/include/cache.h +++ b/include/cache.h @@ -70,6 +70,7 @@ struct chain; void chain_cache_add(struct chain *chain, struct table *table); struct chain *chain_cache_find(const struct table *table, const char *name); void set_cache_add(struct set *set, struct table *table); +void set_cache_del(struct set *set); struct set *set_cache_find(const struct table *table, const char *name); struct cache { -- cgit v1.2.3