qapi: add QMP input visitor
authorMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 19 Jul 2011 19:50:33 +0000 (14:50 -0500)
committerLuiz Capitulino <lcapitulino@gmail.com>
Thu, 21 Jul 2011 19:48:13 +0000 (16:48 -0300)
commita0daa2bf4a10749e28031d42a73db054341d67d6
tree3ff59233f4501395523dbd7232021419f2ec7d56
parent3d74115124d6f7942343a627eb199a4bae9a4760
qapi: add QMP input visitor

A type of Visiter class that is used to walk a qobject's
structure and assign each entry to the corresponding native C type.
Command marshaling function will use this to pull out QMP command
parameters recieved over the wire and pass them as native arguments
to the corresponding C functions.

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