From 7c43dc46179a6f85406eb861e970cbb06bac05d2 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Tue, 22 Aug 2017 14:40:04 +0200 Subject: src: Keep cache in struct nft_ctx This is preliminary work for Eric's libnftables patchset. Cc: Eric Leblond Signed-off-by: Phil Sutter --- include/cli.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/cli.h') diff --git a/include/cli.h b/include/cli.h index 40fc63ea..3ae1c459 100644 --- a/include/cli.h +++ b/include/cli.h @@ -6,10 +6,10 @@ struct parser_state; #ifdef HAVE_LIBREADLINE extern int cli_init(struct nft_ctx *nft, struct mnl_socket *nf_sock, - struct nft_cache *cache, struct parser_state *state); + struct parser_state *state); #else static inline int cli_init(struct nft_ctx *nft, struct mnl_socket *nf_sock, - struct nft_cache *cache, struct parser_state *state) + struct parser_state *state) { return -1; } -- cgit v1.2.3