This patch provides an internal driver API to let drivers register event
callbacks. It also provides a way for an application using libvirt to
provide specific event loop implementations for dealing with these callbacks.
Currently this is internal only - no new exported symbols except for a
private symbol __virEventRegisterImpl intended for use by the libvirt
daemon only.
b/src/event.c | 80 ++++++++++++++++++++++++++++++++++++++
b/src/event.h | 100 ++++++++++++++++++++++++++++++++++++++++++++++++
docs/apibuild.py | 2
qemud/driver.c | 3 +
qemud/event.c | 8 +--
qemud/event.h | 35 ++++------------
qemud/qemud.c | 48 +++++++++++------------
src/Makefile.am | 1
src/libvirt_sym.version | 2
9 files changed, 225 insertions(+), 54 deletions(-)
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules:
http://search.cpan.org/~danberr/ -=|
|=- Projects:
http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|