diff options
Diffstat (limited to 'cython/sbservices.pxi')
| -rw-r--r-- | cython/sbservices.pxi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cython/sbservices.pxi b/cython/sbservices.pxi index 384c92b..0ad67c7 100644 --- a/cython/sbservices.pxi +++ b/cython/sbservices.pxi | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | cdef extern from "libimobiledevice/sbservices.h": | 1 | cdef extern from "libimobiledevice/sbservices.h": |
| 2 | cdef struct sbservices_client_int: | 2 | cdef struct sbservices_client_private: |
| 3 | pass | 3 | pass |
| 4 | ctypedef sbservices_client_int *sbservices_client_t | 4 | ctypedef sbservices_client_private *sbservices_client_t |
| 5 | ctypedef enum sbservices_error_t: | 5 | ctypedef enum sbservices_error_t: |
| 6 | SBSERVICES_E_SUCCESS = 0 | 6 | SBSERVICES_E_SUCCESS = 0 |
| 7 | SBSERVICES_E_INVALID_ARG = -1 | 7 | SBSERVICES_E_INVALID_ARG = -1 |
| @@ -19,9 +19,9 @@ cdef class SpringboardServicesError(BaseError): | |||
| 19 | self._lookup_table = { | 19 | self._lookup_table = { |
| 20 | SBSERVICES_E_SUCCESS: "Success", | 20 | SBSERVICES_E_SUCCESS: "Success", |
| 21 | SBSERVICES_E_INVALID_ARG: "Invalid argument", | 21 | SBSERVICES_E_INVALID_ARG: "Invalid argument", |
| 22 | SBSERVICES_E_PLIST_ERROR: "PList Error", | 22 | SBSERVICES_E_PLIST_ERROR: "Property list error", |
| 23 | SBSERVICES_E_CONN_FAILED: "Connection Failed", | 23 | SBSERVICES_E_CONN_FAILED: "Connection failed", |
| 24 | SBSERVICES_E_UNKNOWN_ERROR: "Unknown Error" | 24 | SBSERVICES_E_UNKNOWN_ERROR: "Unknown error" |
| 25 | } | 25 | } |
| 26 | BaseError.__init__(self, *args, **kwargs) | 26 | BaseError.__init__(self, *args, **kwargs) |
| 27 | 27 | ||
