From 913979f882d13360cba11fd4402d193d74b0396a Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 20 Aug 2020 18:21:37 +0200 Subject: src: add expression handler hashtable netlink_parsers is actually small, but update this code to use a hashtable instead since more expressions may come in the future. Signed-off-by: Pablo Neira Ayuso --- include/netlink.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/netlink.h') diff --git a/include/netlink.h b/include/netlink.h index 1077096e..ad2247e9 100644 --- a/include/netlink.h +++ b/include/netlink.h @@ -213,4 +213,7 @@ int netlink_events_trace_cb(const struct nlmsghdr *nlh, int type, enum nft_data_types dtype_map_to_kernel(const struct datatype *dtype); +void expr_handler_init(void); +void expr_handler_exit(void); + #endif /* NFTABLES_NETLINK_H */ -- cgit v1.2.3