summaryrefslogtreecommitdiffstats
path: root/include/libiphone/libiphone.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libiphone/libiphone.h')
-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" {
32//general errors 32//general errors
33#define IPHONE_E_SUCCESS 0 33#define IPHONE_E_SUCCESS 0
34#define IPHONE_E_INVALID_ARG -1 34#define IPHONE_E_INVALID_ARG -1
35#define IPHONE_E_NO_DEVICE -2 35#define IPHONE_E_UNKNOWN_ERROR -2
36#define IPHONE_E_TIMEOUT -3 36#define IPHONE_E_NO_DEVICE -3
37#define IPHONE_E_NOT_ENOUGH_DATA -4 37#define IPHONE_E_TIMEOUT -4
38#define IPHONE_E_BAD_HEADER -5 38#define IPHONE_E_NOT_ENOUGH_DATA -5
39#define IPHONE_E_BAD_HEADER -6
39 40
40//lockdownd specific error 41//lockdownd specific error
41#define IPHONE_E_INVALID_CONF -6 42#define IPHONE_E_INVALID_CONF -7
42#define IPHONE_E_PAIRING_FAILED -7 43#define IPHONE_E_PAIRING_FAILED -8
43#define IPHONE_E_SSL_ERROR -8 44#define IPHONE_E_SSL_ERROR -9
44 45
45//afc specific error 46//afc specific error
46#define IPHONE_E_NO_SUCH_FILE -9 47#define IPHONE_E_NO_SUCH_FILE -10
47 48
48struct iphone_device_int; 49struct iphone_device_int;
49typedef struct iphone_device_int *iphone_device_t; 50typedef struct iphone_device_int *iphone_device_t;