diff options
author | Bryan Forbes | 2010-05-13 10:30:38 -0500 |
---|---|---|
committer | Martin Szulecki | 2012-03-20 23:25:55 +0100 |
commit | 21f8584c263ab873d640356cf5aa6c1ccb9427ef (patch) | |
tree | 99882b8ef31f0c61b5f92530e08b3faf81d534e2 /cython/mobilesync.pxi | |
parent | 7d4a26663a812c383738fc6390759266851cf953 (diff) | |
download | libimobiledevice-21f8584c263ab873d640356cf5aa6c1ccb9427ef.tar.gz libimobiledevice-21f8584c263ab873d640356cf5aa6c1ccb9427ef.tar.bz2 |
Renamed last_sync_time and current_time to device_anchor and host_anchor.
Diffstat (limited to 'cython/mobilesync.pxi')
-rw-r--r-- | cython/mobilesync.pxi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cython/mobilesync.pxi b/cython/mobilesync.pxi index 843700b..aef13f9 100644 --- a/cython/mobilesync.pxi +++ b/cython/mobilesync.pxi @@ -79,16 +79,16 @@ cdef class MobileSyncClient(DeviceLinkService): err = mobilesync_client_free(self._c_client) self.handle_error(err) - cpdef tuple session_start(self, bytes data_class, bytes last_sync_time, bytes current_time): + cpdef tuple session_start(self, bytes data_class, bytes device_anchor, bytes host_anchor): cdef: mobilesync_anchors_t anchors = NULL mobilesync_sync_type_t sync_type uint64_t data_class_version - if last_sync_time is None: - anchors = mobilesync_anchors_new(NULL, current_time) + if device_anchor is None: + anchors = mobilesync_anchors_new(NULL, host_anchor) else: - anchors = mobilesync_anchors_new(last_sync_time, current_time) + anchors = mobilesync_anchors_new(device_anchor, host_anchor) try: self.handle_error(mobilesync_session_start(self._c_client, data_class, anchors, &sync_type, &data_class_version)) |