summaryrefslogtreecommitdiffstats
path: root/cython
diff options
context:
space:
mode:
authorGravatar Kurt Kiefer2014-09-09 12:54:25 -0700
committerGravatar Nikias Bassen2014-09-12 01:55:49 +0200
commit25ed2d2af2a1de1bfffd1c4ca54c76d6a46c2bf9 (patch)
tree5e8c897f216cf485af986be86215bd0aa7695840 /cython
parent5fecc039a7660aabe27304e3479f5ff4c7fd4bab (diff)
downloadlibimobiledevice-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.pxi4
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":
LOCKDOWN_E_INVALID_HOST_ID = -16
LOCKDOWN_E_INVALID_SERVICE = -17
LOCKDOWN_E_INVALID_ACTIVATION_RECORD = -18
+ LOCKDOWN_E_PAIRING_DIALOG_PENDING = -20
+ LOCKDOWN_E_USER_DENIED_PAIRING = -21
LOCKDOWN_E_UNKNOWN_ERROR = -256
lockdownd_error_t lockdownd_client_new(idevice_t device, lockdownd_client_t *client, char *label)
@@ -67,6 +69,8 @@ cdef class LockdownError(BaseError):
LOCKDOWN_E_INVALID_HOST_ID: "Invalid host ID",
LOCKDOWN_E_INVALID_SERVICE: "Invalid service",
LOCKDOWN_E_INVALID_ACTIVATION_RECORD: "Invalid activation record",
+ LOCKDOWN_E_PAIRING_DIALOG_PENDING: "Pairing dialog pending",
+ LOCKDOWN_E_USER_DENIED_PAIRING: "User denied pairing",
LOCKDOWN_E_UNKNOWN_ERROR: "Unknown error"
}
BaseError.__init__(self, *args, **kwargs)