summaryrefslogtreecommitdiffstats
path: root/cython/imobiledevice.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'cython/imobiledevice.pyx')
-rw-r--r--cython/imobiledevice.pyx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cython/imobiledevice.pyx b/cython/imobiledevice.pyx
index bc861b3..141f67c 100644
--- a/cython/imobiledevice.pyx
+++ b/cython/imobiledevice.pyx
@@ -38,8 +38,8 @@ cdef extern from "libimobiledevice/libimobiledevice.h":
38 IDEVICE_E_UNKNOWN_ERROR = -2 38 IDEVICE_E_UNKNOWN_ERROR = -2
39 IDEVICE_E_NO_DEVICE = -3 39 IDEVICE_E_NO_DEVICE = -3
40 IDEVICE_E_NOT_ENOUGH_DATA = -4 40 IDEVICE_E_NOT_ENOUGH_DATA = -4
41 IDEVICE_E_BAD_HEADER = -5
42 IDEVICE_E_SSL_ERROR = -6 41 IDEVICE_E_SSL_ERROR = -6
42 IDEVICE_E_TIMEOUT = -7
43 ctypedef void (*idevice_event_cb_t) (const_idevice_event_t event, void *user_data) 43 ctypedef void (*idevice_event_cb_t) (const_idevice_event_t event, void *user_data)
44 cdef extern idevice_error_t idevice_event_subscribe(idevice_event_cb_t callback, void *user_data) 44 cdef extern idevice_error_t idevice_event_subscribe(idevice_event_cb_t callback, void *user_data)
45 cdef extern idevice_error_t idevice_event_unsubscribe() 45 cdef extern idevice_error_t idevice_event_unsubscribe()
@@ -64,8 +64,8 @@ cdef class iDeviceError(BaseError):
64 IDEVICE_E_UNKNOWN_ERROR: 'Unknown error', 64 IDEVICE_E_UNKNOWN_ERROR: 'Unknown error',
65 IDEVICE_E_NO_DEVICE: 'No device', 65 IDEVICE_E_NO_DEVICE: 'No device',
66 IDEVICE_E_NOT_ENOUGH_DATA: 'Not enough data', 66 IDEVICE_E_NOT_ENOUGH_DATA: 'Not enough data',
67 IDEVICE_E_BAD_HEADER: 'Bad header', 67 IDEVICE_E_SSL_ERROR: 'SSL Error',
68 IDEVICE_E_SSL_ERROR: 'SSL Error' 68 IDEVICE_E_TIMEOUT: 'Connection timeout'
69 } 69 }
70 BaseError.__init__(self, *args, **kwargs) 70 BaseError.__init__(self, *args, **kwargs)
71 71