diff options
author | Jonathan Beck | 2008-08-17 20:05:00 +0200 |
---|---|---|
committer | Jonathan Beck | 2008-08-31 19:27:19 +0200 |
commit | c547987d49af50bf13c1da438443778ea5785388 (patch) | |
tree | d97859ce524a825e933cd037599d3af8c73a254a | |
parent | 20d10800f03e251dac6d79d54fb8eacdbccbf398 (diff) | |
download | libplist-c547987d49af50bf13c1da438443778ea5785388.tar.gz libplist-c547987d49af50bf13c1da438443778ea5785388.tar.bz2 |
start error definition
-rw-r--r-- | include/libiphone/libiphone.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h index 614b247..c1553b5 100644 --- a/include/libiphone/libiphone.h +++ b/include/libiphone/libiphone.h @@ -29,6 +29,20 @@ extern "C" { #include <sys/types.h> #include <sys/stat.h> +//general errors +#define IPHONE_E_SUCCESS 0 +#define IPHONE_E_NO_DEVICE -1 +#define IPHONE_E_TIMEOUT -2 +#define IPHONE_E_NOT_ENOUGH_DATA -3 + +//lockdownd specific error +#define IPHONE_E_INVALID_CONF -4 +#define IPHONE_E_PAIRING_FAILED -5 +#define IPHONE_E_SSL_ERROR -6 + +//afc specific error +#define IPHONE_E_NO_SUCH_FILE -7 + struct iphone_device_int; typedef iphone_device_int *iphone_device_t; |