]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: json: Add functions to convert JSON arrays from/to virBitmaps
authorPeter Krempa <pkrempa@redhat.com>
Tue, 13 Jan 2015 14:06:16 +0000 (15:06 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Sat, 31 Jan 2015 07:53:21 +0000 (08:53 +0100)
commit58f61d24a46948e01771b4ec2b1eaed8d35c6bf7
tree3cabb8c474668f135144aa6007d279aaac3d45d0
parentbc2d8e5b065ef2cb8479ee3304dabbeeab018b4d
util: json: Add functions to convert JSON arrays from/to virBitmaps

To be able to easily represent nodesets and other data stored in
virBitmaps in libvirt, this patch introduces a set of helpers that allow
to convert the bitmap to and from JSON value objects.
src/libvirt_private.syms
src/util/virjson.c
src/util/virjson.h