[libvirt] [PATCH 01/15] util: json: add helper to iterate and steal members of json array

2016-10-20 Thread Peter Krempa
Simplifies cases where JSON array members need to be transferred to a different structure. --- src/libvirt_private.syms | 1 + src/util/virjson.c | 36 src/util/virjson.h | 6 ++ 3 files changed, 43 insertions(+) diff --git a/src/libvirt_priv

Re: [libvirt] [PATCH 01/15] util: json: add helper to iterate and steal members of json array

2016-10-20 Thread Eric Blake
On 10/20/2016 10:24 AM, Peter Krempa wrote: > Simplifies cases where JSON array members need to be transferred to a > different structure. > --- > src/libvirt_private.syms | 1 + > src/util/virjson.c | 36 > src/util/virjson.h | 6 ++ > 3 file