Re: [PATCH] ESX: Add AnyType_Serialize routine to esx_vi_types.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2012/12/29 Ata E Husain Bohra <ata.husain@xxxxxxxxxxx>:
> 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]