]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Associate a dispatch function with the event objects
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 12 Dec 2013 17:47:42 +0000 (17:47 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 13 Dec 2013 16:07:54 +0000 (16:07 +0000)
commit8a4820ab232d3fffc56d2b570271b9c2ed48a8ec
tree74cf79951b51d28c0b7df9f27c27632ee57a52db
parent5c17a37142be6a79dec5646d8c116044c6f8ffd0
Associate a dispatch function with the event objects

Instead of having the object event code have to know about each
type of event and their dispatch functions, associate a dispatch
function with the object instance. The dispatch code can thus be
significantly simplified.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/conf/domain_event.c
src/conf/domain_event.h
src/conf/network_event.c
src/conf/network_event.h
src/conf/object_event.c
src/conf/object_event_private.h