summaryrefslogtreecommitdiffstats
path: root/include/libiphone
diff options
context:
space:
mode:
Diffstat (limited to 'include/libiphone')
-rw-r--r--include/libiphone/libiphone.h27
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" {
32#include <plist/plist.h> 32#include <plist/plist.h>
33 33
34//general errors 34//general errors
35#define IPHONE_E_SUCCESS 0 35#define IPHONE_E_SUCCESS 0
36#define IPHONE_E_INVALID_ARG -1 36#define IPHONE_E_INVALID_ARG -1
37#define IPHONE_E_UNKNOWN_ERROR -2 37#define IPHONE_E_UNKNOWN_ERROR -2
38#define IPHONE_E_NO_DEVICE -3 38#define IPHONE_E_NO_DEVICE -3
39#define IPHONE_E_TIMEOUT -4 39#define IPHONE_E_TIMEOUT -4
40#define IPHONE_E_NOT_ENOUGH_DATA -5 40#define IPHONE_E_NOT_ENOUGH_DATA -5
41#define IPHONE_E_BAD_HEADER -6 41#define IPHONE_E_BAD_HEADER -6
42 42
43//lockdownd specific error 43//lockdownd specific error
44#define IPHONE_E_INVALID_CONF -7 44#define IPHONE_E_INVALID_CONF -7
45#define IPHONE_E_PAIRING_FAILED -8 45#define IPHONE_E_PAIRING_FAILED -8
46#define IPHONE_E_SSL_ERROR -9 46#define IPHONE_E_SSL_ERROR -9
47#define IPHONE_E_PLIST_ERROR -10 47#define IPHONE_E_PLIST_ERROR -10
48#define IPHONE_E_DICT_ERROR -11 48#define IPHONE_E_DICT_ERROR -11
49#define IPHONE_E_START_SERVICE_FAILED -12
49 50
50//afc specific error 51//afc specific error
51#define IPHONE_E_NO_SUCH_FILE -12 52#define IPHONE_E_NO_SUCH_FILE -13
52 53
53typedef int16_t iphone_error_t; 54typedef int16_t iphone_error_t;
54 55