summaryrefslogtreecommitdiffstats
path: root/include/libiphone/libiphone.h
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-07-25 03:26:39 +0200
committerGravatar Martin Szulecki2009-07-25 03:26:39 +0200
commit50be30047dbb0d38fd8d61763c13ec75d2b52543 (patch)
tree87e021b478c6db6197294e4ef56c47cdad0f5992 /include/libiphone/libiphone.h
parent1cfc2748d38eb97100cabced3b282108898099c2 (diff)
downloadlibimobiledevice-50be30047dbb0d38fd8d61763c13ec75d2b52543.tar.gz
libimobiledevice-50be30047dbb0d38fd8d61763c13ec75d2b52543.tar.bz2
Update AFC API and use error codes from the STATUS operation response
Diffstat (limited to 'include/libiphone/libiphone.h')
-rw-r--r--include/libiphone/libiphone.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h
index 61820e0..014c8bf 100644
--- a/include/libiphone/libiphone.h
+++ b/include/libiphone/libiphone.h
@@ -37,12 +37,8 @@ extern "C" {
#define IPHONE_E_INVALID_ARG -1
#define IPHONE_E_UNKNOWN_ERROR -2
#define IPHONE_E_NO_DEVICE -3
-#define IPHONE_E_TIMEOUT -4
-#define IPHONE_E_NOT_ENOUGH_DATA -5
-#define IPHONE_E_BAD_HEADER -6
-
-//afc specific error
-#define IPHONE_E_AFC_ERROR -13
+#define IPHONE_E_NOT_ENOUGH_DATA -4
+#define IPHONE_E_BAD_HEADER -5
typedef int16_t iphone_error_t;