diff options
Diffstat (limited to 'include/libimobiledevice/property_list_service.h')
| -rw-r--r-- | include/libimobiledevice/property_list_service.h | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/include/libimobiledevice/property_list_service.h b/include/libimobiledevice/property_list_service.h index 4a004ba..dd16b86 100644 --- a/include/libimobiledevice/property_list_service.h +++ b/include/libimobiledevice/property_list_service.h | |||
| @@ -29,18 +29,15 @@ extern "C" { | |||
| 29 | #include <libimobiledevice/lockdown.h> | 29 | #include <libimobiledevice/lockdown.h> |
| 30 | 30 | ||
| 31 | /* Error Codes */ | 31 | /* Error Codes */ |
| 32 | /*@{*/ | 32 | typedef enum { |
| 33 | #define PROPERTY_LIST_SERVICE_E_SUCCESS 0 | 33 | PROPERTY_LIST_SERVICE_E_SUCCESS = 0, |
| 34 | #define PROPERTY_LIST_SERVICE_E_INVALID_ARG -1 | 34 | PROPERTY_LIST_SERVICE_E_INVALID_ARG = -1, |
| 35 | #define PROPERTY_LIST_SERVICE_E_PLIST_ERROR -2 | 35 | PROPERTY_LIST_SERVICE_E_PLIST_ERROR = -2, |
| 36 | #define PROPERTY_LIST_SERVICE_E_MUX_ERROR -3 | 36 | PROPERTY_LIST_SERVICE_E_MUX_ERROR = -3, |
| 37 | #define PROPERTY_LIST_SERVICE_E_SSL_ERROR -4 | 37 | PROPERTY_LIST_SERVICE_E_SSL_ERROR = -4, |
| 38 | #define PROPERTY_LIST_SERVICE_E_RECEIVE_TIMEOUT -5 | 38 | PROPERTY_LIST_SERVICE_E_RECEIVE_TIMEOUT = -5, |
| 39 | #define PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR -256 | 39 | PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR = -256 |
| 40 | /*@}*/ | 40 | } property_list_service_error_t; |
| 41 | |||
| 42 | /** Represents an error code */ | ||
| 43 | typedef int16_t property_list_service_error_t; | ||
| 44 | 41 | ||
| 45 | typedef struct property_list_service_client_private property_list_service_private; | 42 | typedef struct property_list_service_client_private property_list_service_private; |
| 46 | typedef property_list_service_private* property_list_service_client_t; /**< The client handle. */ | 43 | typedef property_list_service_private* property_list_service_client_t; /**< The client handle. */ |
