summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2008-08-17 20:05:00 +0200
committerGravatar Jonathan Beck2008-08-31 19:27:19 +0200
commitc547987d49af50bf13c1da438443778ea5785388 (patch)
treed97859ce524a825e933cd037599d3af8c73a254a /include
parent20d10800f03e251dac6d79d54fb8eacdbccbf398 (diff)
downloadlibimobiledevice-c547987d49af50bf13c1da438443778ea5785388.tar.gz
libimobiledevice-c547987d49af50bf13c1da438443778ea5785388.tar.bz2
start error definition
Diffstat (limited to 'include')
-rw-r--r--include/libiphone/libiphone.h14
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" {
29#include <sys/types.h> 29#include <sys/types.h>
30#include <sys/stat.h> 30#include <sys/stat.h>
31 31
32//general errors
33#define IPHONE_E_SUCCESS 0
34#define IPHONE_E_NO_DEVICE -1
35#define IPHONE_E_TIMEOUT -2
36#define IPHONE_E_NOT_ENOUGH_DATA -3
37
38//lockdownd specific error
39#define IPHONE_E_INVALID_CONF -4
40#define IPHONE_E_PAIRING_FAILED -5
41#define IPHONE_E_SSL_ERROR -6
42
43//afc specific error
44#define IPHONE_E_NO_SUCH_FILE -7
45
32struct iphone_device_int; 46struct iphone_device_int;
33typedef iphone_device_int *iphone_device_t; 47typedef iphone_device_int *iphone_device_t;
34 48