qapi: Add visitor for implicit structs
authorKevin Wolf <kwolf@redhat.com>
Wed, 3 Jul 2013 13:52:42 +0000 (15:52 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 26 Jul 2013 18:17:15 +0000 (20:17 +0200)
commit761d524dbcc5bb41213dd0f238f43c273bc2b077
treee96fec00aacf28df3328fd8dc96b014b85bcba89
parent51631493e4876081ae27078b50bd95bd4418bf37
qapi: Add visitor for implicit structs

These can be used when an embedded struct is parsed and members not
belonging to the struct may be present in the input (e.g. parsing a
flat namespace QMP union, where fields from both the base and one
of the alternative types are mixed in the JSON object)

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