]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: introduce virXMLFormatElement helper
authorPavel Hrdina <phrdina@redhat.com>
Thu, 24 Aug 2017 13:08:23 +0000 (15:08 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 28 Aug 2017 12:02:44 +0000 (14:02 +0200)
commit4e56a3e79378a2397342ac6268f360769ded4586
tree3c692dee37996b7f00fd05b9c43a0868ca82cf98
parentef3ea17f62934217f493442322d9b5ba1bc2c717
util: introduce virXMLFormatElement helper

This helper allows you to better structurize the code if some element
may or may not contains attributes and/or child elements.

Reviewed-by: John Ferlan <jferlan@redhat.com>
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/libvirt_private.syms
src/util/virxml.c
src/util/virxml.h