diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-04-22 21:36:41 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-04-22 21:50:16 +0100 |
commit | 2cac52000a6a96a583af72e289a4296c596047d5 (patch) | |
tree | 840bb620f64d674ba01a9bcefbb3c2096d371aff /python/guestfs-py.h | |
parent | 16da7589e91b0030fb5564553447f80b97c0b18c (diff) | |
download | libguestfs-2cac52000a6a96a583af72e289a4296c596047d5.tar.gz libguestfs-2cac52000a6a96a583af72e289a4296c596047d5.tar.xz libguestfs-2cac52000a6a96a583af72e289a4296c596047d5.zip |
python: Implement new event API.
This implements set_event_callback and delete_event_callback so that
Python programs can use the new event mechanism.
Diffstat (limited to 'python/guestfs-py.h')
-rw-r--r-- | python/guestfs-py.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/guestfs-py.h b/python/guestfs-py.h index 6b7e05f0..29e84ba3 100644 --- a/python/guestfs-py.h +++ b/python/guestfs-py.h @@ -63,5 +63,7 @@ put_handle (guestfs_h *g) extern PyObject *py_guestfs_create (PyObject *self, PyObject *args); extern PyObject *py_guestfs_close (PyObject *self, PyObject *args); +extern PyObject *py_guestfs_set_event_callback (PyObject *self, PyObject *args); +extern PyObject *py_guestfs_delete_event_callback (PyObject *self, PyObject *args); #endif /* guestfs_py_h */ |