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/mobilebackup.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/mobilebackup.h')
| -rw-r--r-- | include/libimobiledevice/mobilebackup.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/include/libimobiledevice/mobilebackup.h b/include/libimobiledevice/mobilebackup.h index 6da3bed..f22150d 100644 --- a/include/libimobiledevice/mobilebackup.h +++ b/include/libimobiledevice/mobilebackup.h | |||
| @@ -3,8 +3,8 @@ | |||
| 3 | * @brief Backup and restore of all device data. | 3 | * @brief Backup and restore of all device data. |
| 4 | * \internal | 4 | * \internal |
| 5 | * | 5 | * |
| 6 | * Copyright (c) 2009-2014 Martin Szulecki All Rights Reserved. | 6 | * Copyright (c) 2010-2019 Nikias Bassen, All Rights Reserved. |
| 7 | * Copyright (c) 2010 Nikias Bassen All Rights Reserved. | 7 | * Copyright (c) 2009-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 |
| @@ -35,13 +35,15 @@ extern "C" { | |||
| 35 | 35 | ||
| 36 | /** Error Codes */ | 36 | /** Error Codes */ |
| 37 | typedef enum { | 37 | typedef enum { |
| 38 | MOBILEBACKUP_E_SUCCESS = 0, | 38 | MOBILEBACKUP_E_SUCCESS = 0, |
| 39 | MOBILEBACKUP_E_INVALID_ARG = -1, | 39 | MOBILEBACKUP_E_INVALID_ARG = -1, |
| 40 | MOBILEBACKUP_E_PLIST_ERROR = -2, | 40 | MOBILEBACKUP_E_PLIST_ERROR = -2, |
| 41 | MOBILEBACKUP_E_MUX_ERROR = -3, | 41 | MOBILEBACKUP_E_MUX_ERROR = -3, |
| 42 | MOBILEBACKUP_E_BAD_VERSION = -4, | 42 | MOBILEBACKUP_E_SSL_ERROR = -4, |
| 43 | MOBILEBACKUP_E_REPLY_NOT_OK = -5, | 43 | MOBILEBACKUP_E_RECEIVE_TIMEOUT = -5, |
| 44 | MOBILEBACKUP_E_UNKNOWN_ERROR = -256 | 44 | MOBILEBACKUP_E_BAD_VERSION = -6, |
| 45 | MOBILEBACKUP_E_REPLY_NOT_OK = -7, | ||
| 46 | MOBILEBACKUP_E_UNKNOWN_ERROR = -256 | ||
| 45 | } mobilebackup_error_t; | 47 | } mobilebackup_error_t; |
| 46 | 48 | ||
| 47 | typedef struct mobilebackup_client_private mobilebackup_client_private; | 49 | typedef struct mobilebackup_client_private mobilebackup_client_private; |
