From: "Daniel P. Berrange" <berrange(a)redhat.com>
This is a followup to the recent network events patches to
improve a few things I noticed when testing this out for
real.
Daniel P. Berrange (6):
Move examples/domain-events/event-c to examples/object-events
Update event demo program to support network events too
Add 'detail' arg to network lifecycle event internals
Introduce abstract virNetworkEvent class
Remove the event namespace concept
Add debug output when registering event handlers
Makefile.am | 2 +-
configure.ac | 2 +-
examples/domain-events/events-c/Makefile.am | 24 -
examples/domain-events/events-c/event-test.c | 644 -------------------------
examples/object-events/Makefile.am | 24 +
examples/object-events/event-test.c | 685 +++++++++++++++++++++++++++
src/conf/domain_event.c | 18 +-
src/conf/domain_event.h | 2 +
src/conf/network_event.c | 58 ++-
src/conf/network_event.h | 6 +-
src/conf/object_event.c | 33 +-
src/conf/object_event.h | 11 +-
src/conf/object_event_private.h | 2 +
src/network/bridge_driver.c | 15 +-
src/remote/remote_driver.c | 2 +-
src/test/test_driver.c | 15 +-
16 files changed, 828 insertions(+), 715 deletions(-)
delete mode 100644 examples/domain-events/events-c/Makefile.am
delete mode 100644 examples/domain-events/events-c/event-test.c
create mode 100644 examples/object-events/Makefile.am
create mode 100644 examples/object-events/event-test.c
--
1.8.3.1