diff options
| author | 2019-09-25 19:29:28 +0200 | |
|---|---|---|
| committer | 2019-09-25 19:29:28 +0200 | |
| commit | acf0a76be3c81a8ce69817af2b16a546a08f7ecb (patch) | |
| tree | 5dccd332d1c3e8a0fdd02bd14703ee0c53f14d91 /include | |
| parent | a9e69b1252e5918b6d8ada1209ccefde301cfa26 (diff) | |
| download | libimobiledevice-acf0a76be3c81a8ce69817af2b16a546a08f7ecb.tar.gz libimobiledevice-acf0a76be3c81a8ce69817af2b16a546a08f7ecb.tar.bz2 | |
restore: Update error codes and properly convert underlying property_list_service errors
Diffstat (limited to 'include')
| -rw-r--r-- | include/libimobiledevice/restore.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/include/libimobiledevice/restore.h b/include/libimobiledevice/restore.h index 897c07c..950f8fd 100644 --- a/include/libimobiledevice/restore.h +++ b/include/libimobiledevice/restore.h | |||
| @@ -35,13 +35,10 @@ extern "C" { | |||
| 35 | typedef enum { | 35 | typedef enum { |
| 36 | RESTORE_E_SUCCESS = 0, | 36 | RESTORE_E_SUCCESS = 0, |
| 37 | RESTORE_E_INVALID_ARG = -1, | 37 | RESTORE_E_INVALID_ARG = -1, |
| 38 | RESTORE_E_INVALID_CONF = -2, | 38 | RESTORE_E_PLIST_ERROR = -2, |
| 39 | RESTORE_E_PLIST_ERROR = -3, | 39 | RESTORE_E_MUX_ERROR = -3, |
| 40 | RESTORE_E_DICT_ERROR = -4, | 40 | RESTORE_E_NOT_ENOUGH_DATA = -4, |
| 41 | RESTORE_E_NOT_ENOUGH_DATA = -5, | 41 | RESTORE_E_RECEIVE_TIMEOUT = -5, |
| 42 | RESTORE_E_MUX_ERROR = -6, | ||
| 43 | RESTORE_E_START_RESTORE_FAILED = -7, | ||
| 44 | RESTORE_E_DEVICE_ERROR = -8, | ||
| 45 | RESTORE_E_UNKNOWN_ERROR = -256 | 42 | RESTORE_E_UNKNOWN_ERROR = -256 |
| 46 | } restored_error_t; | 43 | } restored_error_t; |
| 47 | 44 | ||
