]> git.ipfire.org Git - thirdparty/libvirt.git/commit
network: Introduce virNetworkObjIsPersistent
authorJohn Ferlan <jferlan@redhat.com>
Wed, 10 May 2017 11:29:57 +0000 (07:29 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 16 Aug 2017 18:17:57 +0000 (14:17 -0400)
commitbc9868aaf2be2bb75c41f9192bf05de4bc90bdb4
treebc22b7775a2f4cb8747bb2bf05f410cbcd3b919f
parent9e8227d76b97cfe66974e16d3b506833a7f83d6e
network: Introduce virNetworkObjIsPersistent

In preparation to privatize the virNetworkObj - create an accessor function
to get the current @persistent value.  Also change the value to a bool rather
than an unsigned int (since that's how it's generated anyway).

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