summaryrefslogtreecommitdiffstats
path: root/monitor.c
diff options
context:
space:
mode:
authorMarkus Armbruster2015-09-16 13:06:18 +0200
committerMarkus Armbruster2015-09-21 09:56:48 +0200
commitf15380190a6e635e6c579ca24d672aa4aa068632 (patch)
tree9a9a1df38f45cc7c40eef6ae5c0cc6432dbaa2c5 /monitor.c
parentqapi-visit: Rearrange code a bit (diff)
downloadqemu-f15380190a6e635e6c579ca24d672aa4aa068632.tar.gz
qemu-f15380190a6e635e6c579ca24d672aa4aa068632.tar.xz
qemu-f15380190a6e635e6c579ca24d672aa4aa068632.zip
qapi-commands: Rearrange code
Rename gen_marshal_input() to gen_marshal(), because the generated function marshals both arguments and results. Rename gen_visitor_input_containers_decl() to gen_marshal_vars(), and move the other variable declarations there, too. Rename gen_visitor_input_block() to gen_marshal_input_visit(), and rearrange its code slightly. Rename gen_marshal_input_decl() to gen_marshal_proto(), because the result isn't a full declaration, unlike gen_command_decl()'s. New gen_marshal_decl() actually returns a full declaration. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Daniel P. Berrange <berrange@redhat.com> Message-Id: <1442401589-24189-16-git-send-email-armbru@redhat.com>
Diffstat (limited to 'monitor.c')
0 files changed, 0 insertions, 0 deletions