diff options
author | Nikias Bassen | 2019-09-27 12:52:03 +0200 |
---|---|---|
committer | Nikias Bassen | 2019-09-27 12:52:03 +0200 |
commit | 8f96c52de2f9f35f361d29095190fc673db7d1c1 (patch) | |
tree | 991b5f37ed8c504b2f77a8d0afc22182afbd340c /include/libimobiledevice/mobilesync.h | |
parent | acf0a76be3c81a8ce69817af2b16a546a08f7ecb (diff) | |
download | libimobiledevice-8f96c52de2f9f35f361d29095190fc673db7d1c1.tar.gz libimobiledevice-8f96c52de2f9f35f361d29095190fc673db7d1c1.tar.bz2 |
Make sure to handle timeout errors in device link service and all depending services
Diffstat (limited to 'include/libimobiledevice/mobilesync.h')
-rw-r--r-- | include/libimobiledevice/mobilesync.h | 14 |
1 files changed, 8 insertions, 6 deletions
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; |