From 2f1e7122841d00b3c0134ab9ee19e6ce02a9bd5c Mon Sep 17 00:00:00 2001 From: Alvaro Neira Ayuso Date: Thu, 6 Jun 2013 23:14:16 +0000 Subject: table: add function to export tables in JSON format Signed-off-by: Alvaro Neira Signed-off-by: Pablo Neira Ayuso --- include/libnftables/table.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/libnftables/table.h b/include/libnftables/table.h index 658230c..19f322c 100644 --- a/include/libnftables/table.h +++ b/include/libnftables/table.h @@ -31,6 +31,7 @@ void nft_table_nlmsg_build_payload(struct nlmsghdr *nlh, const struct nft_table enum { NFT_TABLE_O_DEFAULT = 0, NFT_TABLE_O_XML, + NFT_TABLE_O_JSON, }; enum nft_table_parse_type { -- cgit v1.2.3