]> xenbits.xensource.com Git - libvirt.git/commit
util: Export remoteSerializeTypedParameters internally via util
authorErik Skultety <eskultet@redhat.com>
Tue, 2 Feb 2016 13:13:15 +0000 (14:13 +0100)
committerErik Skultety <eskultet@redhat.com>
Wed, 3 Feb 2016 14:46:45 +0000 (15:46 +0100)
commit8cd1d546e67f77a72a026d502726a7a961dd43ed
tree1bc213bc257f06753c943ef83962872b831e59be
parent9afc115f7308199a7e678c3156832e826696629a
util: Export remoteSerializeTypedParameters internally via util

Same as for deserializer, this method might get handy for admin one day.
The major reason for this patch is to stay consistent with idea, i.e.
when deserializer can be shared, why not serializer as well. The only
problem to be solved was that the daemon side serializer uses a code
snippet which handles sparse arrays returned by some APIs as well as
removes any string parameters that can't be returned to older clients.
This patch makes of the new virTypedParameterRemote datatype introduced
by one of the pvious patches.
daemon/remote.c
src/libvirt_private.syms
src/remote/remote_driver.c
src/rpc/gendispatch.pl
src/util/virtypedparam.c
src/util/virtypedparam.h