diff options
| author | 2008-08-19 23:58:20 +0200 | |
|---|---|---|
| committer | 2008-08-31 19:27:20 +0200 | |
| commit | ad65cefa1c041bbd4792e3dc4f4afc7b07026930 (patch) | |
| tree | 76c73d5372cc7152ec20fb809b6da71f3dd896df /include/libiphone/libiphone.h | |
| parent | 21d5d4ac4b4bd419e0d8752147464984497c98ec (diff) | |
| download | libimobiledevice-ad65cefa1c041bbd4792e3dc4f4afc7b07026930.tar.gz libimobiledevice-ad65cefa1c041bbd4792e3dc4f4afc7b07026930.tar.bz2 | |
migrate usbmux.c.
Diffstat (limited to 'include/libiphone/libiphone.h')
| -rw-r--r-- | include/libiphone/libiphone.h | 17 |
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 | ||
| 48 | struct iphone_device_int; | 49 | struct iphone_device_int; |
| 49 | typedef struct iphone_device_int *iphone_device_t; | 50 | typedef struct iphone_device_int *iphone_device_t; |
