summaryrefslogtreecommitdiffstats
path: root/include/libiphone
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2008-08-19 23:58:20 +0200
committerGravatar Jonathan Beck2008-08-31 19:27:20 +0200
commitad65cefa1c041bbd4792e3dc4f4afc7b07026930 (patch)
tree76c73d5372cc7152ec20fb809b6da71f3dd896df /include/libiphone
parent21d5d4ac4b4bd419e0d8752147464984497c98ec (diff)
downloadlibplist-ad65cefa1c041bbd4792e3dc4f4afc7b07026930.tar.gz
libplist-ad65cefa1c041bbd4792e3dc4f4afc7b07026930.tar.bz2
migrate usbmux.c.
Diffstat (limited to 'include/libiphone')
-rw-r--r--include/libiphone/libiphone.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h
index 241c6fa..89b8529 100644
--- a/include/libiphone/libiphone.h
+++ b/include/libiphone/libiphone.h
@@ -32,18 +32,19 @@ extern "C" {
//general errors
#define IPHONE_E_SUCCESS 0
#define IPHONE_E_INVALID_ARG -1
-#define IPHONE_E_NO_DEVICE -2
-#define IPHONE_E_TIMEOUT -3
-#define IPHONE_E_NOT_ENOUGH_DATA -4
-#define IPHONE_E_BAD_HEADER -5
+#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
//lockdownd specific error
-#define IPHONE_E_INVALID_CONF -6
-#define IPHONE_E_PAIRING_FAILED -7
-#define IPHONE_E_SSL_ERROR -8
+#define IPHONE_E_INVALID_CONF -7
+#define IPHONE_E_PAIRING_FAILED -8
+#define IPHONE_E_SSL_ERROR -9
//afc specific error
-#define IPHONE_E_NO_SUCH_FILE -9
+#define IPHONE_E_NO_SUCH_FILE -10
struct iphone_device_int;
typedef struct iphone_device_int *iphone_device_t;