]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
virNetworkObjListExport: Pass virNetworkObjListPtr
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 23 Feb 2015 14:44:57 +0000 (15:44 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 4 Mar 2015 09:09:30 +0000 (10:09 +0100)
commitbbbc7e41e0e07a046e1d19f72bb347678e7440dc
tree5f69c3c829ebf11b566cc6e3be502b31d91a5354
parent5b86f9aa1c2f066f9ec56dd482fcbf74bfd273e1
virNetworkObjListExport: Pass virNetworkObjListPtr

Instead of copying the whole object onto stack when calling the
function, just pass the pointer to the object and save up some
space on the stack. Moreover, this prepares the code to hide the
virNetworkObjList structure into network_conf.c and use accessors
only.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/network_conf.c
src/conf/network_conf.h
src/network/bridge_driver.c
src/parallels/parallels_network.c
src/test/test_driver.c