diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-08-07 22:31:52 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-08-07 22:39:36 +0200 |
commit | aa78a088dde9875ae3e31468ea5e4ca3bd349d2c (patch) | |
tree | 1f06ab113506213e0d036296deef6b73aae3f37d /tests/xmlfiles/48-rule-real.xml | |
parent | fc7d496788b8abb3f009b73898508032eced0c6c (diff) |
src: xml: cleanup set element parsing
Move nft_mxml_set_elem_parse to set_elem.c to improve readability, thus,
we don't need to jump from set_elem.c to mxml.c to see how the parsing
is done.
I have also refactored some common parsing code in the new helper
function nft_mxml_set_elem_parse, that avoids conversions from XML tree
to text and then again back to tree.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/xmlfiles/48-rule-real.xml')
0 files changed, 0 insertions, 0 deletions