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