diff options
| author | 2010-03-31 14:19:38 -0500 | |
|---|---|---|
| committer | 2012-03-20 23:25:55 +0100 | |
| commit | 23954a2b28e6f763a83524a85ead4716620ee7cc (patch) | |
| tree | 33a4a940c26d7b7a228400ffcf6abbc0435958ae /cython/sbservices.pxi | |
| parent | 7b4cb7fb2f1b1ed29f3bc97a9bcae5fc2a89fe95 (diff) | |
| download | libimobiledevice-23954a2b28e6f763a83524a85ead4716620ee7cc.tar.gz libimobiledevice-23954a2b28e6f763a83524a85ead4716620ee7cc.tar.bz2 | |
Added all remaining classes from libimobiledevice.
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 | ||
