summaryrefslogtreecommitdiffstats
path: root/cython/mobilebackup.pxi
diff options
context:
space:
mode:
authorGravatar Bryan Forbes2010-03-31 14:19:38 -0500
committerGravatar Martin Szulecki2012-03-20 23:25:55 +0100
commit23954a2b28e6f763a83524a85ead4716620ee7cc (patch)
tree33a4a940c26d7b7a228400ffcf6abbc0435958ae /cython/mobilebackup.pxi
parent7b4cb7fb2f1b1ed29f3bc97a9bcae5fc2a89fe95 (diff)
downloadlibimobiledevice-23954a2b28e6f763a83524a85ead4716620ee7cc.tar.gz
libimobiledevice-23954a2b28e6f763a83524a85ead4716620ee7cc.tar.bz2
Added all remaining classes from libimobiledevice.
Diffstat (limited to 'cython/mobilebackup.pxi')
-rw-r--r--cython/mobilebackup.pxi10
1 files changed, 5 insertions, 5 deletions
diff --git a/cython/mobilebackup.pxi b/cython/mobilebackup.pxi
index 53a4b6f..330a99d 100644
--- a/cython/mobilebackup.pxi
+++ b/cython/mobilebackup.pxi
@@ -1,7 +1,7 @@
cdef extern from "libimobiledevice/mobilebackup.h":
- cdef struct mobilebackup_client_int:
+ cdef struct mobilebackup_client_private:
pass
- ctypedef mobilebackup_client_int *mobilebackup_client_t
+ ctypedef mobilebackup_client_private *mobilebackup_client_t
ctypedef enum mobilebackup_error_t:
MOBILEBACKUP_E_SUCCESS = 0
@@ -21,9 +21,9 @@ cdef class MobileBackupError(BaseError):
self._lookup_table = {
MOBILEBACKUP_E_SUCCESS: "Success",
MOBILEBACKUP_E_INVALID_ARG: "Invalid argument",
- MOBILEBACKUP_E_PLIST_ERROR: "PList Error",
- MOBILEBACKUP_E_MUX_ERROR: "MUX Error",
- MOBILEBACKUP_E_BAD_VERSION: "Bad Version",
+ MOBILEBACKUP_E_PLIST_ERROR: "Property list error",
+ MOBILEBACKUP_E_MUX_ERROR: "MUX error",
+ MOBILEBACKUP_E_BAD_VERSION: "Bad version",
MOBILEBACKUP_E_UNKNOWN_ERROR: "Unknown error"
}
BaseError.__init__(self, *args, **kwargs)