summaryrefslogtreecommitdiffstats
path: root/examples/nft-rule-json-add.c
diff options
context:
space:
mode:
authorÁlvaro Neira Ayuso <alvaroneay@gmail.com>2013-09-12 19:16:37 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-09-13 09:43:59 +0200
commit4e02019fb2b8ddcf374c7e026dbdd7881dc09506 (patch)
tree5b249436293dc94d9d480de9ae5a264e134e6929 /examples/nft-rule-json-add.c
parent04db2744603bd506470b4e1baf9deee16d43baca (diff)
src: json: refactor json parsing to allow tree based navigation
This patch refactors nft_*_json_parse to provide a new intermediate function nft_jansson_parse_chain which will allows us to navigate the entire json tree containing the ruleset. Signed-off-by: Álvaro Neira Ayuso <alvaroneay@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'examples/nft-rule-json-add.c')
0 files changed, 0 insertions, 0 deletions