]> git.ipfire.org Git - thirdparty/libvirt.git/commit
interface: Make _virInterfaceObjList struct private
authorJohn Ferlan <jferlan@redhat.com>
Fri, 14 Apr 2017 19:45:27 +0000 (15:45 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 2 Jun 2017 19:50:14 +0000 (15:50 -0400)
commit5374a1ca806a17f62ccb025c66e4abc50eb870a5
tree35a18567ab8750e3970ca017235661aa52a88e3f
parent3b6de6c0cb1695bb8f68a0cfd292731631a7c1be
interface: Make _virInterfaceObjList struct private

Move the structs into virinterfaceobj.c, create necessary accessors, and
initializers.

This also includes reworking virInterfaceObjListClone to handle receiving
a source interfaces list pointer, creating the destination interfaces object,
and copying everything from source into dest.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/conf/virinterfaceobj.c
src/conf/virinterfaceobj.h
src/libvirt_private.syms
src/test/test_driver.c