diff options
author | Phil Sutter <phil@nwl.cc> | 2017-08-22 14:40:04 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-08-23 23:42:33 +0200 |
commit | 7c43dc46179a6f85406eb861e970cbb06bac05d2 (patch) | |
tree | dbc85c4fcb760060dfda381b3c6205d079ba8151 /include/cli.h | |
parent | c06413211e6f5f8720fa75909f84b6c0b8c17d68 (diff) |
src: Keep cache in struct nft_ctx
This is preliminary work for Eric's libnftables patchset.
Cc: Eric Leblond <eric@regit.org>
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'include/cli.h')
-rw-r--r-- | include/cli.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |