[PATCH 19/43] util: xml: Introduce virXPathU(Int|LongLong)Base

Ján Tomko jtomko at redhat.com
Tue Nov 1 17:05:52 UTC 2022


On a Monday in 2022, Peter Krempa wrote:
>In an effort to remove the 'Long' variants of XPath number fetching
>functions we need a way to replace the hex number parsing capability.
>
>The new helpers are created from the originals by adding a 'base'
>argument and keeping the original function as a wrapper to pass 10.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/libvirt_private.syms |  2 ++
> src/util/virxml.c        | 42 ++++++++++++++++++++++++++++++----------
> src/util/virxml.h        | 10 ++++++++++
> 3 files changed, 44 insertions(+), 10 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano


More information about the libvir-list mailing list