summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2019-09-27 20:44:03 +0200
committerGravatar Nikias Bassen2019-09-27 20:44:03 +0200
commit92d95d0b8f1870d7cc9eb809a993b04b0e733205 (patch)
treefa8c3015b42d4ca8d83c9231d4b48c047d6a84d2 /include
parent1faa16c912dd5eb4e9305b25b13407de195ad103 (diff)
downloadlibimobiledevice-92d95d0b8f1870d7cc9eb809a993b04b0e733205.tar.gz
libimobiledevice-92d95d0b8f1870d7cc9eb809a993b04b0e733205.tar.bz2
mobile_image_mounter: Better error handling (e.g. when device is locked)
Diffstat (limited to 'include')
-rw-r--r--include/libimobiledevice/mobile_image_mounter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libimobiledevice/mobile_image_mounter.h b/include/libimobiledevice/mobile_image_mounter.h
index 8d783c4..e185ad5 100644
--- a/include/libimobiledevice/mobile_image_mounter.h
+++ b/include/libimobiledevice/mobile_image_mounter.h
@@ -40,6 +40,7 @@ typedef enum {
MOBILE_IMAGE_MOUNTER_E_PLIST_ERROR = -2,
MOBILE_IMAGE_MOUNTER_E_CONN_FAILED = -3,
MOBILE_IMAGE_MOUNTER_E_COMMAND_FAILED = -4,
+ MOBILE_IMAGE_MOUNTER_E_DEVICE_LOCKED = -5,
MOBILE_IMAGE_MOUNTER_E_UNKNOWN_ERROR = -256
} mobile_image_mounter_error_t;