diff options
author | Nikias Bassen | 2019-09-25 19:29:28 +0200 |
---|---|---|
committer | Nikias Bassen | 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" { typedef enum { RESTORE_E_SUCCESS = 0, RESTORE_E_INVALID_ARG = -1, - RESTORE_E_INVALID_CONF = -2, - RESTORE_E_PLIST_ERROR = -3, - RESTORE_E_DICT_ERROR = -4, - RESTORE_E_NOT_ENOUGH_DATA = -5, - RESTORE_E_MUX_ERROR = -6, - RESTORE_E_START_RESTORE_FAILED = -7, - RESTORE_E_DEVICE_ERROR = -8, + RESTORE_E_PLIST_ERROR = -2, + RESTORE_E_MUX_ERROR = -3, + RESTORE_E_NOT_ENOUGH_DATA = -4, + RESTORE_E_RECEIVE_TIMEOUT = -5, RESTORE_E_UNKNOWN_ERROR = -256 } restored_error_t; |