diff options
Diffstat (limited to 'include/libimobiledevice')
| -rw-r--r-- | include/libimobiledevice/service.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libimobiledevice/service.h b/include/libimobiledevice/service.h index 5c43e29..facf03b 100644 --- a/include/libimobiledevice/service.h +++ b/include/libimobiledevice/service.h | |||
| @@ -37,7 +37,7 @@ typedef enum { | |||
| 37 | SERVICE_E_MUX_ERROR = -3, | 37 | SERVICE_E_MUX_ERROR = -3, |
| 38 | SERVICE_E_SSL_ERROR = -4, | 38 | SERVICE_E_SSL_ERROR = -4, |
| 39 | SERVICE_E_START_SERVICE_ERROR = -5, | 39 | SERVICE_E_START_SERVICE_ERROR = -5, |
| 40 | SERIVCE_E_NOT_ENOUGH_DATA = -6, | 40 | SERVICE_E_NOT_ENOUGH_DATA = -6, |
| 41 | SERVICE_E_TIMEOUT = -7, | 41 | SERVICE_E_TIMEOUT = -7, |
| 42 | SERVICE_E_UNKNOWN_ERROR = -256 | 42 | SERVICE_E_UNKNOWN_ERROR = -256 |
| 43 | } service_error_t; | 43 | } service_error_t; |
| @@ -134,7 +134,7 @@ service_error_t service_receive_with_timeout(service_client_t client, char *data | |||
| 134 | * | 134 | * |
| 135 | * @return SERVICE_E_SUCCESS on success, | 135 | * @return SERVICE_E_SUCCESS on success, |
| 136 | * SERVICE_E_INVALID_ARG when one or more parameters are | 136 | * SERVICE_E_INVALID_ARG when one or more parameters are |
| 137 | * invalid, SERIVCE_E_NOT_ENOUGH_DATA when not enough data | 137 | * invalid, SERVICE_E_NOT_ENOUGH_DATA when not enough data |
| 138 | * received, SERVICE_E_TIMEOUT when the connection times out, | 138 | * received, SERVICE_E_TIMEOUT when the connection times out, |
| 139 | * SERVICE_E_MUX_ERROR when a communication error | 139 | * SERVICE_E_MUX_ERROR when a communication error |
| 140 | * occurs, or SERVICE_E_UNKNOWN_ERROR when an unspecified | 140 | * occurs, or SERVICE_E_UNKNOWN_ERROR when an unspecified |
| @@ -150,7 +150,7 @@ service_error_t service_receive(service_client_t client, char *data, uint32_t si | |||
| 150 | * | 150 | * |
| 151 | * @return SERVICE_E_SUCCESS on success, | 151 | * @return SERVICE_E_SUCCESS on success, |
| 152 | * SERVICE_E_INVALID_ARG if client or client->connection is | 152 | * SERVICE_E_INVALID_ARG if client or client->connection is |
| 153 | * NULL, SERIVCE_E_NOT_ENOUGH_DATA when not enough data | 153 | * NULL, SERVICE_E_NOT_ENOUGH_DATA when not enough data |
| 154 | * received, SERVICE_E_TIMEOUT when the connection times out, | 154 | * received, SERVICE_E_TIMEOUT when the connection times out, |
| 155 | * SERVICE_E_SSL_ERROR when SSL could not be enabled, | 155 | * SERVICE_E_SSL_ERROR when SSL could not be enabled, |
| 156 | * or SERVICE_E_UNKNOWN_ERROR otherwise. | 156 | * or SERVICE_E_UNKNOWN_ERROR otherwise. |
