]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix up python bindings for new event callbacks
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 26 Mar 2010 13:22:06 +0000 (13:22 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 8 Apr 2010 11:41:40 +0000 (12:41 +0100)
commit6df7d55d393f4dec18eb5d87778195a95b5dcc03
tree7f76bd11b2aa39d4c0bae0223af3036cc3134ec3
parentdf62337289d74bc19d1c4daa0e5369652515542a
Fix up python bindings for new event callbacks

The generator was disabled for the new event callbacks, since they
need to be hand written. This patch  adds the C and python glue to
expose the new APIs in the python binding. The python example
program is extended to demonstrate of the code

* python/libvirt-override.c: Registration and dispatch of events
   at the C layer
* python/libvirt-override-virConnect.py: Python glue for events
* examples/domain-events/events-python/event-test.py: Demo use
  of new event callbacks
examples/domain-events/events-python/event-test.py
python/libvirt-override-virConnect.py
python/libvirt-override.c