Re: [RFC PATCH 1/7] util: xml: Introduce virXMLFormatElementEmpty

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2021-04-13 at 17:38 +0200, Peter Krempa wrote:
> Add a helper which will format an XML element with attributes and
> children, but compared to virXMLFormatElement it also formats an empty
> element if both buffers are empty.
> 
> Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
> ---
>  src/libvirt_private.syms |  1 +
>  src/util/virxml.c        | 42 ++++++++++++++++++++++++++--------------
>  src/util/virxml.h        |  7 +++++++
>  3 files changed, 35 insertions(+), 15 deletions(-)

Reviewed-by: Andrea Bolognani <abologna@xxxxxxxxxx>

-- 
Andrea Bolognani / Red Hat / Virtualization




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux