[libvirt] [PATCH] Domain Events Python Bindings
Ben Guthro
bguthro at virtualiron.com
Wed Oct 29 16:03:26 UTC 2008
Attached are the python bindings for domain events
I have moved much of the complicated code from my prior submission out of C and into python.
This required a slight change to the generator.
The new convention that we came up with is to append <classname>.py to the class as it is being generated, iff that file exists.
examples/domain-events/events-python/event-test.py | 186 +++++++++
python/generator.py | 16
python/libvir.c | 410 +++++++++++++++++++++
python/libvir.py | 20 +
python/libvirt_wrap.h | 27 +
python/types.c | 47 ++
python/virConnect.py | 46 ++
7 files changed, 747 insertions(+), 5 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: events-python.patch
Type: text/x-patch
Size: 27855 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20081029/7edf6efc/attachment-0001.bin>
More information about the libvir-list
mailing list