]> git.ipfire.org Git - thirdparty/qemu.git/commit
qdict: Add qdict_array_split()
authorMax Reitz <mreitz@redhat.com>
Fri, 20 Dec 2013 18:28:03 +0000 (19:28 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 22 Jan 2014 11:07:17 +0000 (12:07 +0100)
commit05a8c2227157eda2540404999c4615d3bf343c18
tree28be98f39111838a693d89a9b0a4bddeb653a956
parentd4881b9bcbbadc83ffa5d8e6d2d6deb36cd8faa6
qdict: Add qdict_array_split()

This function splits a QDict consisting of entries prefixed by
incrementally enumerated indices into a QList of QDicts.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
include/qapi/qmp/qdict.h
qobject/qdict.c