summaryrefslogtreecommitdiffstats
path: root/cython/mobile_image_mounter.pxi
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-02-27 15:10:57 +0100
committerGravatar Martin Szulecki2013-02-27 15:10:57 +0100
commit0cac547eb79492e04176ad541fe6fb1d1f576824 (patch)
treec285e1a996233b2829645144bdfb936d64b4fcc1 /cython/mobile_image_mounter.pxi
parent12754fa1c93d810f408b2de291b44e39eaee7ee5 (diff)
downloadlibimobiledevice-0cac547eb79492e04176ad541fe6fb1d1f576824.tar.gz
libimobiledevice-0cac547eb79492e04176ad541fe6fb1d1f576824.tar.bz2
cython: Port all binding code to latest API and fix broken compilation
Diffstat (limited to 'cython/mobile_image_mounter.pxi')
-rw-r--r--cython/mobile_image_mounter.pxi6
1 files changed, 3 insertions, 3 deletions
diff --git a/cython/mobile_image_mounter.pxi b/cython/mobile_image_mounter.pxi
index bf304d4..a23a59b 100644
--- a/cython/mobile_image_mounter.pxi
+++ b/cython/mobile_image_mounter.pxi
@@ -10,7 +10,7 @@ cdef extern from "libimobiledevice/mobile_image_mounter.h":
10 MOBILE_IMAGE_MOUNTER_E_CONN_FAILED = -3 10 MOBILE_IMAGE_MOUNTER_E_CONN_FAILED = -3
11 MOBILE_IMAGE_MOUNTER_E_UNKNOWN_ERROR = -256 11 MOBILE_IMAGE_MOUNTER_E_UNKNOWN_ERROR = -256
12 12
13 mobile_image_mounter_error_t mobile_image_mounter_new(idevice_t device, uint16_t port, mobile_image_mounter_client_t *client) 13 mobile_image_mounter_error_t mobile_image_mounter_new(idevice_t device, lockdownd_service_descriptor_t descriptor, mobile_image_mounter_client_t *client)
14 mobile_image_mounter_error_t mobile_image_mounter_free(mobile_image_mounter_client_t client) 14 mobile_image_mounter_error_t mobile_image_mounter_free(mobile_image_mounter_client_t client)
15 mobile_image_mounter_error_t mobile_image_mounter_lookup_image(mobile_image_mounter_client_t client, char *image_type, plist.plist_t *result) 15 mobile_image_mounter_error_t mobile_image_mounter_lookup_image(mobile_image_mounter_client_t client, char *image_type, plist.plist_t *result)
16 mobile_image_mounter_error_t mobile_image_mounter_mount_image(mobile_image_mounter_client_t client, char *image_path, char *image_signature, uint16_t signature_length, char *image_type, plist.plist_t *result) 16 mobile_image_mounter_error_t mobile_image_mounter_mount_image(mobile_image_mounter_client_t client, char *image_path, char *image_signature, uint16_t signature_length, char *image_type, plist.plist_t *result)
@@ -31,8 +31,8 @@ cdef class MobileImageMounterClient(PropertyListService):
31 __service_name__ = "com.apple.mobile.mobile_image_mounter" 31 __service_name__ = "com.apple.mobile.mobile_image_mounter"
32 cdef mobile_image_mounter_client_t _c_client 32 cdef mobile_image_mounter_client_t _c_client
33 33
34 def __cinit__(self, iDevice device not None, int port, *args, **kwargs): 34 def __cinit__(self, iDevice device not None, LockdownServiceDescriptor descriptor, *args, **kwargs):
35 self.handle_error(mobile_image_mounter_new(device._c_dev, port, &self._c_client)) 35 self.handle_error(mobile_image_mounter_new(device._c_dev, descriptor._c_service_descriptor, &self._c_client))
36 36
37 def __dealloc__(self): 37 def __dealloc__(self):
38 cdef mobile_image_mounter_error_t err 38 cdef mobile_image_mounter_error_t err