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

2016-11-09 Thread Pavel Hrdina
On Wed, Nov 02, 2016 at 05:13:33PM +0100, Peter Krempa wrote: > Simplifies cases where JSON array members need to be transferred to a > different structure. > --- > > Notes: > v2: > - iterate from beginning > - add option to keep array member in the array without breaking iteration >

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

2016-11-02 Thread Peter Krempa
Simplifies cases where JSON array members need to be transferred to a different structure. --- Notes: v2: - iterate from beginning - add option to keep array member in the array without breaking iteration - documented callback return codes src/libvirt_private.syms | 1 +

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

2016-10-21 Thread Peter Krempa
Simplifies cases where JSON array members need to be transferred to a different structure. --- Notes: v2: - iterate from beginning - add option to keep array member in the array without breaking iteration - documented callback return codes src/libvirt_private.syms | 1 +