]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
remote: Auto-allocate params in remoteDeserializeTypedParameters
authorJiri Denemark <jdenemar@redhat.com>
Wed, 30 Jan 2013 09:28:54 +0000 (10:28 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 22 Feb 2013 16:35:58 +0000 (17:35 +0100)
commit98b9acf5aa02551dd37d0209339aba2e22e4004a
tree7a1574ff2f5013c07ef5eb3ed20b3e59d58b4205
parent8eb7ab95c2d459968bf097dcd2d2bd068a76e628
remote: Auto-allocate params in remoteDeserializeTypedParameters

remoteDeserializeTypedParameters can now be called with either
preallocated params array (size of which is announced by nparams) or it
can allocate params array according to the number of parameters received
from the server.
src/remote/remote_driver.c
src/rpc/gendispatch.pl