qemu/qobject
Kevin Wolf bd50530a9f qdict: Add qdict_array_entries()
This counts the entries in a flattened array in a QDict without
actually splitting the QDict into a QList.

bdrv_open_image() doesn't take a QList, but rather a QDict and a key
prefix string, so this is more convenient for block drivers which have a
dynamically sized list of child nodes (e.g. Quorum) and are to be
converted to using bdrv_open_image() as the standard interface for
opening child nodes.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
2015-06-12 16:58:06 +02:00
..
json-lexer.c json-lexer: fix escaped backslash in single-quoted string 2014-06-23 11:01:24 -04:00
json-parser.c json-parser: Accept 'null' in QMP 2015-05-11 08:59:07 -04:00
json-streamer.c
Makefile.objs qobject: Add a special null QObject 2015-05-11 08:59:07 -04:00
qbool.c
qdict.c qdict: Add qdict_array_entries() 2015-06-12 16:58:06 +02:00
qerror.c
qfloat.c
qint.c
qjson.c qobject: Add a special null QObject 2015-05-11 08:59:07 -04:00
qlist.c
qnull.c qobject: Add a special null QObject 2015-05-11 08:59:07 -04:00
qstring.c