]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
qapi: Add consume argument to qmp_input_get_object()
authorKevin Wolf <kwolf@redhat.com>
Mon, 8 Jul 2013 09:33:07 +0000 (11:33 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 26 Jul 2013 19:10:11 +0000 (21:10 +0200)
commite8316d7e8e8339a9ea593ba821a0aad26908c0d5
treecff1eece6a8e6006ca65e4c21e5b2137d4508612
parent50f2bdc75c5ee00617ad874c9ceac2cea660aa1e
qapi: Add consume argument to qmp_input_get_object()

This allows to just look at the next element without actually consuming
it.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
qapi/qmp-input-visitor.c