]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Don't pass virConnectPtr in nwfilter 'struct domUpdateCBStruct'
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 3 Oct 2013 11:45:26 +0000 (12:45 +0100)
committerCole Robinson <crobinso@redhat.com>
Mon, 7 Oct 2013 13:53:33 +0000 (09:53 -0400)
commit0b9f930836ea4987412c599e9e371923211d1bfa
tree2c533734e41d676cd2af134dad826f6256ca12d3
parent3598addc9efe660c15b10e48477f8bb65d1e7308
Don't pass virConnectPtr in nwfilter 'struct domUpdateCBStruct'

The nwfilter driver only needs a reference to its private
state object, not a full virConnectPtr. Update the domUpdateCBStruct
struct to have a 'void *opaque' field instead of a virConnectPtr.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
(cherry picked from commit ebca369e3fe5ac999c261c2d44e60a1bac3cfe65)
src/conf/nwfilter_conf.c
src/conf/nwfilter_conf.h
src/nwfilter/nwfilter_dhcpsnoop.c
src/nwfilter/nwfilter_driver.c
src/nwfilter/nwfilter_gentech_driver.c
src/nwfilter/nwfilter_gentech_driver.h
src/nwfilter/nwfilter_learnipaddr.c