From 21f8584c263ab873d640356cf5aa6c1ccb9427ef Mon Sep 17 00:00:00 2001
From: Bryan Forbes
Date: Thu, 13 May 2010 10:30:38 -0500
Subject: Renamed last_sync_time and current_time to device_anchor and
 host_anchor.

---
 cython/mobilesync.pxi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'cython')

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))
-- 
cgit v1.1-32-gdbae