From ae4b7bacc40fe85fa3c2c023ca5a6a5b45b43c53 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Wed, 16 Mar 2011 21:35:56 +0100 Subject: mobilesync: Check for cancel message when attempting to clear all records on device Furthermore the clearing must happen after starting synchronization and as we have the data class set already, we can obsolete that argument. --- include/libimobiledevice/mobilesync.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/libimobiledevice/mobilesync.h') diff --git a/include/libimobiledevice/mobilesync.h b/include/libimobiledevice/mobilesync.h index 2cd6d30..7658b7d 100644 --- a/include/libimobiledevice/mobilesync.h +++ b/include/libimobiledevice/mobilesync.h @@ -78,7 +78,7 @@ mobilesync_error_t mobilesync_finish(mobilesync_client_t client); mobilesync_error_t mobilesync_get_all_records_from_device(mobilesync_client_t client); mobilesync_error_t mobilesync_get_changes_from_device(mobilesync_client_t client); -mobilesync_error_t mobilesync_clear_all_records_on_device(mobilesync_client_t client, const char *data_class); +mobilesync_error_t mobilesync_clear_all_records_on_device(mobilesync_client_t client); mobilesync_error_t mobilesync_receive_changes(mobilesync_client_t client, plist_t *entities, uint8_t *is_last_record, plist_t *actions); mobilesync_error_t mobilesync_acknowledge_changes_from_device(mobilesync_client_t client); -- cgit v1.1-32-gdbae