summaryrefslogtreecommitdiffstats
path: root/libvir.py
diff options
context:
space:
mode:
Diffstat (limited to 'libvir.py')
-rw-r--r--libvir.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/libvir.py b/libvir.py
index cf5e776..86bf422 100644
--- a/libvir.py
+++ b/libvir.py
@@ -123,6 +123,26 @@ def getVersion (name = None):
return ret
+#
+# Invoke an EventHandle callback
+#
+def eventInvokeHandleCallback (fd, event, callback, opaque):
+ """
+ Invoke the Event Impl Handle Callback in C
+ """
+ libvirtmod.virEventInvokeHandleCallback(fd, event, callback, opaque);
+
+#
+# Invoke an EventTimeout callback
+#
+def eventInvokeTimeoutCallback (timer, callback, opaque):
+ """
+ Invoke the Event Impl Timeout Callback in C
+ """
+ libvirtmod.virEventInvokeTimeoutCallback(timer, callback, opaque);
+
+
+
# WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
#
# Everything before this line comes from libvir.py