summaryrefslogtreecommitdiffstats
path: root/cython
diff options
context:
space:
mode:
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)