aboutsummaryrefslogtreecommitdiff
path: root/qapi-schema-test.json
diff options
context:
space:
mode:
authorMichael Roth <mdroth@linux.vnet.ibm.com>2011-07-19 14:50:42 -0500
committerLuiz Capitulino <lcapitulino@gmail.com>2011-07-21 16:48:14 -0300
commitc17d9908a942e355c70bfb32b6ebdc0e6e5daa87 (patch)
tree55a337fdb16602b7d82f4a476ccdfa45bdf787a4 /qapi-schema-test.json
parent06d64c62ddc38c77af775c16165d4b38f43d02e9 (diff)
qapi: add qapi-commands.py code generator
This is the code generator for qapi command marshaling/dispatch. Currently only generators for synchronous qapi/qmp functions are supported. This script generates the following files: $(prefix)qmp-marshal.c: command marshal/dispatch functions for each QMP command defined in the schema. Functions generated by qapi-visit.py are used to convert qobjects recieved from the wire into function parameters, and uses the same visiter functions to convert native C return values to qobjects from transmission back over the wire. $(prefix)qmp-commands.h: Function prototypes for the QMP commands specified in the schema. $(prefix) is used in the same manner as with qapi-types.py Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com> Signed-off-by: Luiz Capitulino <lcapitulino@gmail.com>
Diffstat (limited to 'qapi-schema-test.json')
0 files changed, 0 insertions, 0 deletions