diff options
Diffstat (limited to 'include/rule.h')
-rw-r--r-- | include/rule.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/include/rule.h b/include/rule.h index c6c5ca98..977f2748 100644 --- a/include/rule.h +++ b/include/rule.h @@ -618,12 +618,10 @@ extern struct error_record *rule_postprocess(struct rule *rule); struct netlink_ctx; extern int do_command(struct netlink_ctx *ctx, struct cmd *cmd); -extern int cache_update(struct mnl_socket *nf_sock, struct nft_cache *cache, - enum cmd_ops cmd, struct list_head *msgs, unsigned int debug_flag, - struct output_ctx *octx); -extern void cache_flush(struct mnl_socket *nf_sock, struct nft_cache *cache, - enum cmd_ops cmd, struct list_head *msgs, - unsigned int debug_mask, struct output_ctx *octx); +extern int cache_update(struct nft_ctx *ctx, enum cmd_ops cmd, + struct list_head *msgs); +extern void cache_flush(struct nft_ctx *ctx, enum cmd_ops cmd, + struct list_head *msgs); extern void cache_release(struct nft_cache *cache); enum udata_type { |