[libvirt] [PATCH] ESX: Add AnyType_Serialize routine to esx_vi_types.c
Matthias Bolte
matthias.bolte at googlemail.com
Tue Jan 1 12:14:04 UTC 2013
2012/12/29 Ata E Husain Bohra <ata.husain at hotmail.com>:
> Add esxVI_AnyType_Serialize routine to allow serialization
> of objects containing variables of type "AnyType". The routine
> attempts to determine the type of the object that covers:
> boolean, long, int, string, short, byte.
>
> If variables does not fall under any above mentioned types
> then it is added as "anyType".
> ---
> src/esx/esx_vi_types.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
> src/esx/esx_vi_types.h | 3 ++-
> 2 files changed, 50 insertions(+), 1 deletion(-)
Looks good on a quick view, but I wonder what are you trying to that
requires to serialize an AnyType directly instead of the specific
types?
--
Matthias Bolte
http://photron.blogspot.com
More information about the libvir-list
mailing list