summaryrefslogtreecommitdiffstats
path: root/include/libnftables
diff options
context:
space:
mode:
authorArturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>2013-09-16 20:24:51 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-09-16 22:42:43 +0200
commit210adc4063a7557b3bc0ffd69bd992c0bec4bacc (patch)
tree784228ac8183c4f4da0f696954040e214dfa760b /include/libnftables
parent2f5a7c560ab5e20111f6196181a603e1bd3f8791 (diff)
src: xml: refactor XML parsing code
This patch refactors nft_*_xml_parse to provide a new intermediate function nft_mxml_parse_* which will allow us to navigate an entire XML tree containing a ruleset without xml2text2xml conversions. While at it, I added a helper to build the XML tree and validate the top node name. Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Diffstat (limited to 'include/libnftables')
0 files changed, 0 insertions, 0 deletions