summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2011-06-15 17:54:30 -0400
committerCole Robinson <crobinso@redhat.com>2011-06-21 10:08:47 -0400
commit633bf2494bc3ac550d8f176f0df2eb33faceffcc (patch)
treeb14cd72fd7ea7a177f7f5f39550f216ba91072bd
parenteaf7c983b62e389e1c8a65184a01f28e8109be6b (diff)
downloadlibvirt-python-v6-633bf2494bc3ac550d8f176f0df2eb33faceffcc.tar.gz
libvirt-python-v6-633bf2494bc3ac550d8f176f0df2eb33faceffcc.tar.xz
libvirt-python-v6-633bf2494bc3ac550d8f176f0df2eb33faceffcc.zip
Promote virEvent*Handle/Timeout to public API
Since we virEventRegisterDefaultImpl is now a public API, callers need a way to invoke the default registered Handle and Timeout functions. We already have general functions for these internally, so promote them to the public API. v2: Actually add APIs to libvirt.h
-rwxr-xr-xgenerator.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/generator.py b/generator.py
index 7c843d7..6fdc6f8 100755
--- a/generator.py
+++ b/generator.py
@@ -398,6 +398,14 @@ skip_function = (
'virStreamRecv', # overridden in libvirt-override-virStream.py
'virStreamSend', # overridden in libvirt-override-virStream.py
+ # XXX: Skip for now, some work needed to handle Timeout/Handle callbacks
+ 'virEventAddHandle',
+ 'virEventRemoveHandle',
+ 'virEventUpdateHandle',
+ 'virEventAddTimeout',
+ 'virEventRemoveTimeout',
+ 'virEventUpdateTimeout',
+
# 'Ref' functions have no use for bindings users.
"virConnectRef",
"virDomainRef",