From 8f96c52de2f9f35f361d29095190fc673db7d1c1 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Fri, 27 Sep 2019 12:52:03 +0200 Subject: Make sure to handle timeout errors in device link service and all depending services --- include/libimobiledevice/mobilesync.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'include/libimobiledevice/mobilesync.h') diff --git a/include/libimobiledevice/mobilesync.h b/include/libimobiledevice/mobilesync.h index e6885c7..005ef3f 100644 --- a/include/libimobiledevice/mobilesync.h +++ b/include/libimobiledevice/mobilesync.h @@ -3,8 +3,8 @@ * @brief Synchronize data classes with a device and computer. * \internal * + * Copyright (c) 2010-2019 Nikias Bassen, All Rights Reserved. * Copyright (c) 2010-2014 Martin Szulecki All Rights Reserved. - * Copyright (c) 2010-2011 Nikias Bassen All Rights Reserved. * Copyright (c) 2014 Christophe Fergeau All Rights Reserved. * Copyright (c) 2010 Bryan Forbes All Rights Reserved. * Copyright (c) 2009 Jonathan Beck All Rights Reserved. @@ -42,11 +42,13 @@ typedef enum { MOBILESYNC_E_INVALID_ARG = -1, MOBILESYNC_E_PLIST_ERROR = -2, MOBILESYNC_E_MUX_ERROR = -3, - MOBILESYNC_E_BAD_VERSION = -4, - MOBILESYNC_E_SYNC_REFUSED = -5, - MOBILESYNC_E_CANCELLED = -6, - MOBILESYNC_E_WRONG_DIRECTION = -7, - MOBILESYNC_E_NOT_READY = -8, + MOBILESYNC_E_SSL_ERROR = -4, + MOBILESYNC_E_RECEIVE_TIMEOUT = -5, + MOBILESYNC_E_BAD_VERSION = -6, + MOBILESYNC_E_SYNC_REFUSED = -7, + MOBILESYNC_E_CANCELLED = -8, + MOBILESYNC_E_WRONG_DIRECTION = -9, + MOBILESYNC_E_NOT_READY = -10, MOBILESYNC_E_UNKNOWN_ERROR = -256 } mobilesync_error_t; -- cgit v1.1-32-gdbae