diff options
Diffstat (limited to 'include/xt.h')
-rw-r--r-- | include/xt.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/xt.h b/include/xt.h index 753511e6..549eb9fe 100644 --- a/include/xt.h +++ b/include/xt.h @@ -6,9 +6,10 @@ struct netlink_parse_ctx; struct nftnl_expr; struct rule_pp_ctx; struct rule; +struct output_ctx; #ifdef HAVE_LIBXTABLES -void xt_stmt_xlate(const struct stmt *stmt); +void xt_stmt_xlate(const struct stmt *stmt, struct output_ctx *octx); void xt_stmt_release(const struct stmt *stmt); void netlink_parse_target(struct netlink_parse_ctx *ctx, @@ -20,7 +21,7 @@ void netlink_parse_match(struct netlink_parse_ctx *ctx, void stmt_xt_postprocess(struct rule_pp_ctx *rctx, struct stmt *stmt, struct rule *rule); #else -static inline void xt_stmt_xlate(const struct stmt *stmt) {} +static inline void xt_stmt_xlate(const struct stmt *stmt, struct output_ctx *octx) {} static inline void xt_stmt_release(const struct stmt *stmt) {} #include <erec.h> |