diff options
author | Martin Szulecki | 2009-04-16 20:52:29 +0200 |
---|---|---|
committer | Matt Colyer | 2009-04-19 15:22:31 -0700 |
commit | 63e5eed5542c8c85144ee0ac20174c0859fab866 (patch) | |
tree | 375f7bc7097a0987b0b242e9d8df1197556e8428 /include/libiphone/libiphone.h | |
parent | f104eb4371c2da6bac81f283d9943cdb800a6f95 (diff) | |
download | libimobiledevice-63e5eed5542c8c85144ee0ac20174c0859fab866.tar.gz libimobiledevice-63e5eed5542c8c85144ee0ac20174c0859fab866.tar.bz2 |
Make sure start_service returns an error if it fails to start the service
[#34 state:resolved]
Signed-off-by: Matt Colyer <matt@colyer.name>
Diffstat (limited to 'include/libiphone/libiphone.h')
-rw-r--r-- | include/libiphone/libiphone.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h index 0d5257a..4bc2fea 100644 --- a/include/libiphone/libiphone.h +++ b/include/libiphone/libiphone.h @@ -32,23 +32,24 @@ extern "C" { #include <plist/plist.h> //general errors -#define IPHONE_E_SUCCESS 0 -#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 +#define IPHONE_E_SUCCESS 0 +#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 //lockdownd specific error -#define IPHONE_E_INVALID_CONF -7 -#define IPHONE_E_PAIRING_FAILED -8 -#define IPHONE_E_SSL_ERROR -9 -#define IPHONE_E_PLIST_ERROR -10 -#define IPHONE_E_DICT_ERROR -11 +#define IPHONE_E_INVALID_CONF -7 +#define IPHONE_E_PAIRING_FAILED -8 +#define IPHONE_E_SSL_ERROR -9 +#define IPHONE_E_PLIST_ERROR -10 +#define IPHONE_E_DICT_ERROR -11 +#define IPHONE_E_START_SERVICE_FAILED -12 //afc specific error -#define IPHONE_E_NO_SUCH_FILE -12 +#define IPHONE_E_NO_SUCH_FILE -13 typedef int16_t iphone_error_t; |