summaryrefslogtreecommitdiffstats
path: root/include/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/parser.h')
-rw-r--r--include/parser.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/parser.h b/include/parser.h
index 79612757..ea41ca03 100644
--- a/include/parser.h
+++ b/include/parser.h
@@ -31,10 +31,8 @@ struct parser_state {
struct mnl_socket;
-extern void parser_init(struct mnl_socket *nf_sock, struct nft_cache *cache,
- struct parser_state *state, struct list_head *msgs,
- struct list_head *cmds, unsigned int debug_level,
- struct output_ctx *octx);
+extern void parser_init(struct nft_ctx *nft, struct parser_state *state,
+ struct list_head *msgs, struct list_head *cmds);
extern int nft_parse(struct nft_ctx *ctx, void *, struct parser_state *state);
extern void *scanner_init(struct parser_state *state);