]> git.ipfire.org Git - thirdparty/libvirt.git/commit
network: Add virNetworkObj Get/Set API's for @def and @newDef
authorJohn Ferlan <jferlan@redhat.com>
Tue, 9 May 2017 22:38:58 +0000 (18:38 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 16 Aug 2017 18:17:57 +0000 (14:17 -0400)
commitdb207a62339f9313ca3b94b7dc8bf66091f7ca09
tree89c84c784e3354d4da0d5b9f81a9c7e1b40bb291
parent062c38ce75ba3d4112ddcdbdb8427997c7002b70
network: Add virNetworkObj Get/Set API's for @def and @newDef

In preparation for making the object private, create a couple of API's
to get the obj->def & obj->newDef and set the obj->def.

While altering networkxml2conftest.c to use the virNetworkObjSetDef
API, fix the name of the variable from @dev to @def

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/conf/virnetworkobj.c
src/conf/virnetworkobj.h
src/libvirt_private.syms
src/network/bridge_driver.c
src/test/test_driver.c
tests/networkxml2conftest.c