qemu-e2k/include/qapi/qmp
Kevin Wolf 7990d2c99c qdict: Add qdict_{set,copy}_default()
In the block layer functions that determine options for a child block
device, it's a common pattern to either copy options from the parent's
options or to set a default string if the option isn't explicitly set
yet for the child. Provide convenience functions so that it becomes a
one-liner for each option.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2015-06-12 16:58:06 +02:00
..
dispatch.h qmp hmp: Consistently name Error * objects err, and not errp 2014-05-08 14:20:00 -04:00
json-lexer.h qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
json-parser.h qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
json-streamer.h qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
qbool.h qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
qdict.h qdict: Add qdict_{set,copy}_default() 2015-06-12 16:58:06 +02:00
qerror.h block: use bdrv_get_device_or_node_name() in error messages 2015-04-28 15:36:09 +02:00
qfloat.h qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
qint.h qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
qjson.h qjson.h: Remove spurious GCC_FMT_ATTR markup from qobject_from_json() declaration 2014-03-03 09:45:46 +04:00
qlist.h remove some double-includes 2013-05-18 16:35:12 +04:00
qobject.h qobject: Add a special null QObject 2015-05-11 08:59:07 -04:00
qstring.h qstring: add qstring_get_length() 2013-04-05 08:42:29 -04:00
types.h qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00