[Libosinfo] [libosinfo 3/4] Teach osinfo_loader_entity() how to parse booleans

Daniel P. Berrange berrange at redhat.com
Wed Nov 13 11:22:26 UTC 2013


On Wed, Nov 06, 2013 at 02:41:52PM +0100, Christophe Fergeau wrote:
> We want to support both <foo>true</foo> and <foo/> to specify booleans. Now
> that osinfo_loader_entity additional keys have type information, we can
> use a dedicated boolean parser for boolean keys.
> ---
>  data/schemas/libosinfo.rng |  9 +++++---
>  osinfo/osinfo_loader.c     | 56 +++++++++++++++++++++++++++++++++++++++++++---
>  2 files changed, 59 insertions(+), 6 deletions(-)

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the Libosinfo mailing list