diff options
| author | 2019-09-27 12:52:03 +0200 | |
|---|---|---|
| committer | 2019-09-27 12:52:03 +0200 | |
| commit | 8f96c52de2f9f35f361d29095190fc673db7d1c1 (patch) | |
| tree | 991b5f37ed8c504b2f77a8d0afc22182afbd340c /include/libimobiledevice/mobilebackup2.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/mobilebackup2.h')
| -rw-r--r-- | include/libimobiledevice/mobilebackup2.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/include/libimobiledevice/mobilebackup2.h b/include/libimobiledevice/mobilebackup2.h index 0c42334..239c807 100644 --- a/include/libimobiledevice/mobilebackup2.h +++ b/include/libimobiledevice/mobilebackup2.h | |||
| @@ -3,8 +3,8 @@ | |||
| 3 | * @brief Backup and restore of all device data (mobilebackup2, iOS4+ only) | 3 | * @brief Backup and restore of all device data (mobilebackup2, iOS4+ only) |
| 4 | * \internal | 4 | * \internal |
| 5 | * | 5 | * |
| 6 | * Copyright (c) 2011-2014 Martin Szulecki All Rights Reserved. | 6 | * Copyright (c) 2010-2019 Nikias Bassen, All Rights Reserved. |
| 7 | * Copyright (c) 2010-2012 Nikias Bassen All Rights Reserved. | 7 | * Copyright (c) 2011-2014 Martin Szulecki, All Rights Reserved. |
| 8 | * | 8 | * |
| 9 | * This library is free software; you can redistribute it and/or | 9 | * This library is free software; you can redistribute it and/or |
| 10 | * modify it under the terms of the GNU Lesser General Public | 10 | * modify it under the terms of the GNU Lesser General Public |
| @@ -39,9 +39,11 @@ typedef enum { | |||
| 39 | MOBILEBACKUP2_E_INVALID_ARG = -1, | 39 | MOBILEBACKUP2_E_INVALID_ARG = -1, |
| 40 | MOBILEBACKUP2_E_PLIST_ERROR = -2, | 40 | MOBILEBACKUP2_E_PLIST_ERROR = -2, |
| 41 | MOBILEBACKUP2_E_MUX_ERROR = -3, | 41 | MOBILEBACKUP2_E_MUX_ERROR = -3, |
| 42 | MOBILEBACKUP2_E_BAD_VERSION = -4, | 42 | MOBILEBACKUP2_E_SSL_ERROR = -4, |
| 43 | MOBILEBACKUP2_E_REPLY_NOT_OK = -5, | 43 | MOBILEBACKUP2_E_RECEIVE_TIMEOUT = -5, |
| 44 | MOBILEBACKUP2_E_NO_COMMON_VERSION = -6, | 44 | MOBILEBACKUP2_E_BAD_VERSION = -6, |
| 45 | MOBILEBACKUP2_E_REPLY_NOT_OK = -7, | ||
| 46 | MOBILEBACKUP2_E_NO_COMMON_VERSION = -8, | ||
| 45 | MOBILEBACKUP2_E_UNKNOWN_ERROR = -256 | 47 | MOBILEBACKUP2_E_UNKNOWN_ERROR = -256 |
| 46 | } mobilebackup2_error_t; | 48 | } mobilebackup2_error_t; |
| 47 | 49 | ||
