diff options
Diffstat (limited to 'include/libimobiledevice/webinspector.h')
| -rw-r--r-- | include/libimobiledevice/webinspector.h | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/include/libimobiledevice/webinspector.h b/include/libimobiledevice/webinspector.h index 499e7f0..9f0c75c 100644 --- a/include/libimobiledevice/webinspector.h +++ b/include/libimobiledevice/webinspector.h | |||
| @@ -32,18 +32,15 @@ extern "C" { | |||
| 32 | 32 | ||
| 33 | #define WEBINSPECTOR_SERVICE_NAME "com.apple.webinspector" | 33 | #define WEBINSPECTOR_SERVICE_NAME "com.apple.webinspector" |
| 34 | 34 | ||
| 35 | /** @name Error Codes */ | 35 | /** Error Codes */ |
| 36 | /*@{*/ | 36 | typedef enum { |
| 37 | #define WEBINSPECTOR_E_SUCCESS 0 | 37 | WEBINSPECTOR_E_SUCCESS = 0, |
| 38 | #define WEBINSPECTOR_E_INVALID_ARG -1 | 38 | WEBINSPECTOR_E_INVALID_ARG = -1, |
| 39 | #define WEBINSPECTOR_E_PLIST_ERROR -2 | 39 | WEBINSPECTOR_E_PLIST_ERROR = -2, |
| 40 | #define WEBINSPECTOR_E_MUX_ERROR -3 | 40 | WEBINSPECTOR_E_MUX_ERROR = -3, |
| 41 | #define WEBINSPECTOR_E_SSL_ERROR -4 | 41 | WEBINSPECTOR_E_SSL_ERROR = -4, |
| 42 | #define WEBINSPECTOR_E_UNKNOWN_ERROR -256 | 42 | WEBINSPECTOR_E_UNKNOWN_ERROR = -256 |
| 43 | /*@}*/ | 43 | } webinspector_error_t; |
| 44 | |||
| 45 | /** Represents an error code. */ | ||
| 46 | typedef int16_t webinspector_error_t; | ||
| 47 | 44 | ||
| 48 | typedef struct webinspector_client_private webinspector_client_private; | 45 | typedef struct webinspector_client_private webinspector_client_private; |
| 49 | typedef webinspector_client_private *webinspector_client_t; /**< The client handle. */ | 46 | typedef webinspector_client_private *webinspector_client_t; /**< The client handle. */ |
