libxl IDL: generate code to parse libxl__json_object to libxl_FOO struct
authorWei Liu <wei.liu2@citrix.com>
Wed, 9 Jul 2014 09:45:26 +0000 (10:45 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 10 Jul 2014 12:06:55 +0000 (13:06 +0100)
commita4e5aea5d3c7c0abecda8fad8040eb63b5e82fa2
tree8a2bd0548d2209000f1da90da133c320a2377aeb
parentc7857abd916c3dbc75c13443eb28f44437eb1f57
libxl IDL: generate code to parse libxl__json_object to libxl_FOO struct

libxl_FOO_parse_json functions are generated.

Note that these functions are used to parse libxl__json_object to
libxl__FOO struct. They don't consume JSON string.

The new function definitions are generated to new header files called
__libxl_types_*_private.h so that they don't contaminate public header.
The suffix "private is chosen so we can avoid clashing with
libxl_types_internal.idl stuffs.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/Makefile
tools/libxl/gentypes.py
tools/libxl/idl.py
tools/libxl/idl.txt
tools/libxl/libxl.h
tools/libxl/libxl_internal.h
tools/libxl/libxl_types.idl
tools/libxl/libxl_types_internal.idl