diff options
| author | 2014-12-13 13:17:44 +0800 | |
|---|---|---|
| committer | 2015-01-12 18:33:49 +0100 | |
| commit | 7b082b87102725a2e282ac5bfe8bf5ee1fb57437 (patch) | |
| tree | a2f88d13538d46c778f4ae9e557e4ac85f2db976 /cython | |
| parent | f7884fb0af7fe08dbb2989617b711a33945f329e (diff) | |
| download | libimobiledevice-7b082b87102725a2e282ac5bfe8bf5ee1fb57437.tar.gz libimobiledevice-7b082b87102725a2e282ac5bfe8bf5ee1fb57437.tar.bz2 | |
cython: Add new FILE_RELAY_E_PERMISSION_DENIED(-6) error to detect permission denied on iOS8+
Diffstat (limited to 'cython')
| -rw-r--r-- | cython/file_relay.pxi | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/cython/file_relay.pxi b/cython/file_relay.pxi index ec4942e..5e9cbbe 100644 --- a/cython/file_relay.pxi +++ b/cython/file_relay.pxi @@ -11,6 +11,7 @@ cdef extern from "libimobiledevice/file_relay.h":          FILE_RELAY_E_MUX_ERROR = -3          FILE_RELAY_E_INVALID_SOURCE = -4          FILE_RELAY_E_STAGING_EMPTY = -5 +        FILE_RELAY_E_PERMISSION_DENIED = -6          FILE_RELAY_E_UNKNOWN_ERROR = -256      file_relay_error_t file_relay_client_new(idevice_t device, lockdownd_service_descriptor_t descriptor, file_relay_client_t *client) @@ -27,6 +28,7 @@ cdef class FileRelayError(BaseError):              FILE_RELAY_E_MUX_ERROR: "MUX error",              FILE_RELAY_E_INVALID_SOURCE: "Invalid source",              FILE_RELAY_E_STAGING_EMPTY: "Staging empty", +            FILE_RELAY_E_PERMISSION_DENIED: "Permission denied",              FILE_RELAY_E_UNKNOWN_ERROR: "Unknown error"          }          BaseError.__init__(self, *args, **kwargs) | 
