diff options
| author | 2009-07-25 02:40:25 +0200 | |
|---|---|---|
| committer | 2009-07-25 02:40:25 +0200 | |
| commit | f5e9d76ebd74999512ab73f44fabba86879b1c1f (patch) | |
| tree | 9e01e1b8bda52c04c31c5334805a530403713e08 /include/libiphone/libiphone.h | |
| parent | d11abfb48218a37d9c66831ebec8b0a736d5385f (diff) | |
| download | libimobiledevice-f5e9d76ebd74999512ab73f44fabba86879b1c1f.tar.gz libimobiledevice-f5e9d76ebd74999512ab73f44fabba86879b1c1f.tar.bz2 | |
Update lockdown API and introduce new error codes
Diffstat (limited to 'include/libiphone/libiphone.h')
| -rw-r--r-- | include/libiphone/libiphone.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h index 9764a7e..895e809 100644 --- a/include/libiphone/libiphone.h +++ b/include/libiphone/libiphone.h | |||
| @@ -32,7 +32,7 @@ extern "C" { | |||
| 32 | #include <plist/plist.h> | 32 | #include <plist/plist.h> |
| 33 | #include <usbmuxd.h> | 33 | #include <usbmuxd.h> |
| 34 | 34 | ||
| 35 | //general errors | 35 | /* Error Codes */ |
| 36 | #define IPHONE_E_SUCCESS 0 | 36 | #define IPHONE_E_SUCCESS 0 |
| 37 | #define IPHONE_E_INVALID_ARG -1 | 37 | #define IPHONE_E_INVALID_ARG -1 |
| 38 | #define IPHONE_E_UNKNOWN_ERROR -2 | 38 | #define IPHONE_E_UNKNOWN_ERROR -2 |
| @@ -41,14 +41,6 @@ extern "C" { | |||
| 41 | #define IPHONE_E_NOT_ENOUGH_DATA -5 | 41 | #define IPHONE_E_NOT_ENOUGH_DATA -5 |
| 42 | #define IPHONE_E_BAD_HEADER -6 | 42 | #define IPHONE_E_BAD_HEADER -6 |
| 43 | 43 | ||
| 44 | //lockdownd specific error | ||
| 45 | #define IPHONE_E_INVALID_CONF -7 | ||
| 46 | #define IPHONE_E_PAIRING_FAILED -8 | ||
| 47 | #define IPHONE_E_SSL_ERROR -9 | ||
| 48 | #define IPHONE_E_PLIST_ERROR -10 | ||
| 49 | #define IPHONE_E_DICT_ERROR -11 | ||
| 50 | #define IPHONE_E_START_SERVICE_FAILED -12 | ||
| 51 | |||
| 52 | //afc specific error | 44 | //afc specific error |
| 53 | #define IPHONE_E_AFC_ERROR -13 | 45 | #define IPHONE_E_AFC_ERROR -13 |
| 54 | 46 | ||
