diff options
| author | 2020-06-07 16:03:06 +0200 | |
|---|---|---|
| committer | 2020-06-07 16:03:06 +0200 | |
| commit | fb99e7c9d22c7d07b3b5fdb5064d3aa6cef88e62 (patch) | |
| tree | 2cf8aa54c6e5f9b8626b08fc9369dfc3323ad3fc /cython/imobiledevice.pxd | |
| parent | 03ba291453b992101a3fa15cc4469f1cc053927c (diff) | |
| download | libimobiledevice-fb99e7c9d22c7d07b3b5fdb5064d3aa6cef88e62.tar.gz libimobiledevice-fb99e7c9d22c7d07b3b5fdb5064d3aa6cef88e62.tar.bz2 | |
cython: First run at updating Python bindings to updated interface
Diffstat (limited to 'cython/imobiledevice.pxd')
| -rw-r--r-- | cython/imobiledevice.pxd | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cython/imobiledevice.pxd b/cython/imobiledevice.pxd index 8523c94..b44e444 100644 --- a/cython/imobiledevice.pxd +++ b/cython/imobiledevice.pxd | |||
| @@ -23,13 +23,17 @@ cdef extern from "libimobiledevice/libimobiledevice.h": | |||
| 23 | cdef struct idevice_connection_private: | 23 | cdef struct idevice_connection_private: |
| 24 | pass | 24 | pass |
| 25 | ctypedef idevice_connection_private* idevice_connection_t | 25 | ctypedef idevice_connection_private* idevice_connection_t |
| 26 | cdef enum idevice_connection_type: | ||
| 27 | CONNECTION_USBMUXD = 1 | ||
| 28 | CONNECTION_NETWORK | ||
| 26 | cdef enum idevice_event_type: | 29 | cdef enum idevice_event_type: |
| 27 | IDEVICE_DEVICE_ADD = 1, | 30 | IDEVICE_DEVICE_ADD = 1 |
| 28 | IDEVICE_DEVICE_REMOVE | 31 | IDEVICE_DEVICE_REMOVE |
| 32 | IDEVICE_DEVICE_PAIRED | ||
| 29 | ctypedef struct idevice_event_t: | 33 | ctypedef struct idevice_event_t: |
| 30 | idevice_event_type event | 34 | idevice_event_type event |
| 31 | char *udid | 35 | char *udid |
| 32 | int conn_type | 36 | idevice_connection_type conn_type |
| 33 | ctypedef idevice_event_t* const_idevice_event_t "const idevice_event_t*" | 37 | ctypedef idevice_event_t* const_idevice_event_t "const idevice_event_t*" |
| 34 | 38 | ||
| 35 | cdef class iDeviceEvent: | 39 | cdef class iDeviceEvent: |
