diff options
Diffstat (limited to 'include/libimobiledevice/sbservices.h')
| -rw-r--r-- | include/libimobiledevice/sbservices.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/libimobiledevice/sbservices.h b/include/libimobiledevice/sbservices.h index 0fcec86..71e951e 100644 --- a/include/libimobiledevice/sbservices.h +++ b/include/libimobiledevice/sbservices.h | |||
| @@ -29,14 +29,17 @@ extern "C" { | |||
| 29 | 29 | ||
| 30 | #include <libimobiledevice/libimobiledevice.h> | 30 | #include <libimobiledevice/libimobiledevice.h> |
| 31 | 31 | ||
| 32 | /* Error Codes */ | 32 | /** @name Error Codes */ |
| 33 | /*@{*/ | ||
| 33 | #define SBSERVICES_E_SUCCESS 0 | 34 | #define SBSERVICES_E_SUCCESS 0 |
| 34 | #define SBSERVICES_E_INVALID_ARG -1 | 35 | #define SBSERVICES_E_INVALID_ARG -1 |
| 35 | #define SBSERVICES_E_PLIST_ERROR -2 | 36 | #define SBSERVICES_E_PLIST_ERROR -2 |
| 36 | #define SBSERVICES_E_CONN_FAILED -3 | 37 | #define SBSERVICES_E_CONN_FAILED -3 |
| 37 | 38 | ||
| 38 | #define SBSERVICES_E_UNKNOWN_ERROR -256 | 39 | #define SBSERVICES_E_UNKNOWN_ERROR -256 |
| 40 | /*@}*/ | ||
| 39 | 41 | ||
| 42 | /** Represents an error code. */ | ||
| 40 | typedef int16_t sbservices_error_t; | 43 | typedef int16_t sbservices_error_t; |
| 41 | 44 | ||
| 42 | typedef struct sbservices_client_private sbservices_client_private; | 45 | typedef struct sbservices_client_private sbservices_client_private; |
