diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/nftables.h | 1 | ||||
-rw-r--r-- | include/nftables/nftables.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/nftables.h b/include/nftables.h index 3d96f2e3..1b368971 100644 --- a/include/nftables.h +++ b/include/nftables.h @@ -14,6 +14,7 @@ struct output_ctx { unsigned int handle; unsigned int echo; FILE *output_fp; + FILE *error_fp; }; struct nft_cache { diff --git a/include/nftables/nftables.h b/include/nftables/nftables.h index 8e59f2b2..1e930682 100644 --- a/include/nftables/nftables.h +++ b/include/nftables/nftables.h @@ -57,6 +57,8 @@ bool nft_ctx_output_get_echo(struct nft_ctx *ctx); void nft_ctx_output_set_echo(struct nft_ctx *ctx, bool val); FILE *nft_ctx_set_output(struct nft_ctx *ctx, FILE *fp); +FILE *nft_ctx_set_error(struct nft_ctx *ctx, FILE *fp); + int nft_ctx_add_include_path(struct nft_ctx *ctx, const char *path); void nft_ctx_clear_include_paths(struct nft_ctx *ctx); |