[libvirt] [PATCH 06/14] util: Add helper to convert libxml2 nodes to a string

Eric Blake eblake at redhat.com
Mon Sep 16 21:42:43 UTC 2013


On 09/10/2013 04:15 AM, Peter Krempa wrote:
> ---
>  src/libvirt_private.syms |  1 +
>  src/util/virxml.c        | 33 +++++++++++++++++++++++++++++++++
>  src/util/virxml.h        |  2 ++
>  3 files changed, 36 insertions(+)
> 
> diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
> index 0631941..18e9a4b 100644
> --- a/src/libvirt_private.syms
> +++ b/src/libvirt_private.syms
> @@ -2091,6 +2091,7 @@ virUUIDParse;
> 
>  # util/virxml.h
>  virXMLChildElementCount;
> +virXMLNodeDump;

Interesting name; I don't know that I would come up with much better
(ToString is longer to type than Dump).

> +
> +/**
> + * virXMLNodeDump: convert a XML node ptr to a XML string

Silly English.  The rule is "an" before a leading vowel sound, and since
"XML" is pronounced "ex-em-ell", there's a leading vowel sound.

s/a XML/an XML/2

ACK with comment fix.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130916/f43276ea/attachment-0001.sig>


More information about the libvir-list mailing list