qapi: add QMP output visitor
commite4e6aa14ed377d808aba4643cd922403606d4dee
authorMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 19 Jul 2011 19:50:34 +0000 (19 14:50 -0500)
committerLuiz Capitulino <lcapitulino@gmail.com>
Thu, 21 Jul 2011 19:48:13 +0000 (21 16:48 -0300)
treef5b3751b81411fc1ee9d4a6bb497639b1d12895e
parentc40cc0a0ddbcda2af446b40271025b3dbee119ce
qapi: add QMP output visitor

Type of Visiter class that serves as the inverse of the input visitor:
it takes a series of native C types and uses their values to construct a
corresponding QObject. The command marshaling/dispatcher functions will
use this to convert the output of QMP functions into a QObject that can
be sent over the wire.

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@gmail.com>
Makefile.objs
qapi/qmp-output-visitor.c [new file with mode: 0644]
qapi/qmp-output-visitor.h [new file with mode: 0644]