diff options
| author | 2014-09-09 12:54:25 -0700 | |
|---|---|---|
| committer | 2014-09-12 01:55:49 +0200 | |
| commit | 25ed2d2af2a1de1bfffd1c4ca54c76d6a46c2bf9 (patch) | |
| tree | 5e8c897f216cf485af986be86215bd0aa7695840 /cython | |
| parent | 5fecc039a7660aabe27304e3479f5ff4c7fd4bab (diff) | |
| download | libimobiledevice-25ed2d2af2a1de1bfffd1c4ca54c76d6a46c2bf9.tar.gz libimobiledevice-25ed2d2af2a1de1bfffd1c4ca54c76d6a46c2bf9.tar.bz2 | |
cython: Add error codes and messages for LOCKDOWN_E_PAIRING_DIALOG_PENDING and LOCKDOWN_E_USER_DENIED_PAIRING
Change-Id: I159fe465ee964c391c130b756404fb80f56e160a
Diffstat (limited to 'cython')
| -rw-r--r-- | cython/lockdown.pxi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cython/lockdown.pxi b/cython/lockdown.pxi index ee674b4..13fe634 100644 --- a/cython/lockdown.pxi +++ b/cython/lockdown.pxi | |||
| @@ -19,6 +19,8 @@ cdef extern from "libimobiledevice/lockdown.h": | |||
| 19 | LOCKDOWN_E_INVALID_HOST_ID = -16 | 19 | LOCKDOWN_E_INVALID_HOST_ID = -16 |
| 20 | LOCKDOWN_E_INVALID_SERVICE = -17 | 20 | LOCKDOWN_E_INVALID_SERVICE = -17 |
| 21 | LOCKDOWN_E_INVALID_ACTIVATION_RECORD = -18 | 21 | LOCKDOWN_E_INVALID_ACTIVATION_RECORD = -18 |
| 22 | LOCKDOWN_E_PAIRING_DIALOG_PENDING = -20 | ||
| 23 | LOCKDOWN_E_USER_DENIED_PAIRING = -21 | ||
| 22 | LOCKDOWN_E_UNKNOWN_ERROR = -256 | 24 | LOCKDOWN_E_UNKNOWN_ERROR = -256 |
| 23 | 25 | ||
| 24 | lockdownd_error_t lockdownd_client_new(idevice_t device, lockdownd_client_t *client, char *label) | 26 | lockdownd_error_t lockdownd_client_new(idevice_t device, lockdownd_client_t *client, char *label) |
| @@ -67,6 +69,8 @@ cdef class LockdownError(BaseError): | |||
| 67 | LOCKDOWN_E_INVALID_HOST_ID: "Invalid host ID", | 69 | LOCKDOWN_E_INVALID_HOST_ID: "Invalid host ID", |
| 68 | LOCKDOWN_E_INVALID_SERVICE: "Invalid service", | 70 | LOCKDOWN_E_INVALID_SERVICE: "Invalid service", |
| 69 | LOCKDOWN_E_INVALID_ACTIVATION_RECORD: "Invalid activation record", | 71 | LOCKDOWN_E_INVALID_ACTIVATION_RECORD: "Invalid activation record", |
| 72 | LOCKDOWN_E_PAIRING_DIALOG_PENDING: "Pairing dialog pending", | ||
| 73 | LOCKDOWN_E_USER_DENIED_PAIRING: "User denied pairing", | ||
| 70 | LOCKDOWN_E_UNKNOWN_ERROR: "Unknown error" | 74 | LOCKDOWN_E_UNKNOWN_ERROR: "Unknown error" |
| 71 | } | 75 | } |
| 72 | BaseError.__init__(self, *args, **kwargs) | 76 | BaseError.__init__(self, *args, **kwargs) |
