diff options
Diffstat (limited to 'include/libimobiledevice/installation_proxy.h')
| -rw-r--r-- | include/libimobiledevice/installation_proxy.h | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/include/libimobiledevice/installation_proxy.h b/include/libimobiledevice/installation_proxy.h index 4740b20..f76ee68 100644 --- a/include/libimobiledevice/installation_proxy.h +++ b/include/libimobiledevice/installation_proxy.h | |||
| @@ -32,21 +32,17 @@ extern "C" { | |||
| 32 | 32 | ||
| 33 | #define INSTPROXY_SERVICE_NAME "com.apple.mobile.installation_proxy" | 33 | #define INSTPROXY_SERVICE_NAME "com.apple.mobile.installation_proxy" |
| 34 | 34 | ||
| 35 | /** @name Error Codes */ | 35 | /** Error Codes */ |
| 36 | /*@{*/ | 36 | typedef enum { |
| 37 | #define INSTPROXY_E_SUCCESS 0 | 37 | INSTPROXY_E_SUCCESS = 0, |
| 38 | #define INSTPROXY_E_INVALID_ARG -1 | 38 | INSTPROXY_E_INVALID_ARG = -1, |
| 39 | #define INSTPROXY_E_PLIST_ERROR -2 | 39 | INSTPROXY_E_PLIST_ERROR = -2, |
| 40 | #define INSTPROXY_E_CONN_FAILED -3 | 40 | INSTPROXY_E_CONN_FAILED = -3, |
| 41 | #define INSTPROXY_E_OP_IN_PROGRESS -4 | 41 | INSTPROXY_E_OP_IN_PROGRESS = -4, |
| 42 | #define INSTPROXY_E_OP_FAILED -5 | 42 | INSTPROXY_E_OP_FAILED = -5, |
| 43 | #define INSTPROXY_E_RECEIVE_TIMEOUT -6 | 43 | INSTPROXY_E_RECEIVE_TIMEOUT = -6, |
| 44 | 44 | INSTPROXY_E_UNKNOWN_ERROR = -256 | |
| 45 | #define INSTPROXY_E_UNKNOWN_ERROR -256 | 45 | } instproxy_error_t; |
| 46 | /*@}*/ | ||
| 47 | |||
| 48 | /** Represents an error code. */ | ||
| 49 | typedef int16_t instproxy_error_t; | ||
| 50 | 46 | ||
| 51 | typedef struct instproxy_client_private instproxy_client_private; | 47 | typedef struct instproxy_client_private instproxy_client_private; |
| 52 | typedef instproxy_client_private *instproxy_client_t; /**< The client handle. */ | 48 | typedef instproxy_client_private *instproxy_client_t; /**< The client handle. */ |
