1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-27 07:22:07 +03:00
libvirt/examples
Cole Robinson f2fb235b1d python: events: Fix C->Python handle callback prototype
If registering our own event loop implementation written in python,
any handles or timeouts callbacks registered by libvirt C code must
be wrapped in a python function. There is some argument trickery that
makes this all work, by wrapping the user passed opaque value in
a tuple, along with the callback function.

Problem is, the current setup requires the user's event loop to know
about this trickery, rather than just treating the opaque value
as truly opaque.

Fix this in a backwards compatible manner, and adjust the example
python event loop to do things the proper way.
2011-06-21 10:08:48 -04:00
..
apparmor Improve the apparmor example 2010-04-06 23:01:24 +02:00
domain-events python: events: Fix C->Python handle callback prototype 2011-06-21 10:08:48 -04:00
dominfo maint: avoid space-tab 2010-12-21 13:21:25 -07:00
domsuspend maint: avoid space-tab 2010-12-21 13:21:25 -07:00
hellolibvirt Fix build in separate build directory 2009-10-01 16:55:09 +02:00
openauth Add openauth example to demonstrate a custom auth callback 2010-07-13 13:50:27 +02:00
python Remove bogus check for Xen in example program 2010-11-29 15:17:00 +00:00
systemtap Include socket address in client probe data 2010-10-22 12:00:45 +01:00
xml nwfilter: enable filtering of gratuitous ARP packets 2011-05-23 19:41:18 -04:00