summaryrefslogtreecommitdiffstats
path: root/include/nftables/libnftables.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/nftables/libnftables.h')
-rw-r--r--include/nftables/libnftables.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/nftables/libnftables.h b/include/nftables/libnftables.h
index 652e0ca9..4bfdaf9a 100644
--- a/include/nftables/libnftables.h
+++ b/include/nftables/libnftables.h
@@ -55,6 +55,8 @@ bool nft_ctx_output_get_handle(struct nft_ctx *ctx);
void nft_ctx_output_set_handle(struct nft_ctx *ctx, bool val);
bool nft_ctx_output_get_echo(struct nft_ctx *ctx);
void nft_ctx_output_set_echo(struct nft_ctx *ctx, bool val);
+bool nft_ctx_output_get_json(struct nft_ctx *ctx);
+void nft_ctx_output_set_json(struct nft_ctx *ctx, bool val);
FILE *nft_ctx_set_output(struct nft_ctx *ctx, FILE *fp);
int nft_ctx_buffer_output(struct nft_ctx *ctx);