diff options
Diffstat (limited to 'iphone.h')
| -rw-r--r-- | iphone.h | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -50,6 +50,7 @@ | |||
| 50 | #define IPHONE_E_ETIMEDOUT -ETIMEDOUT | 50 | #define IPHONE_E_ETIMEDOUT -ETIMEDOUT |
| 51 | #define IPHONE_E_ECONNREFUSED -ECONNREFUSED | 51 | #define IPHONE_E_ECONNREFUSED -ECONNREFUSED |
| 52 | 52 | ||
| 53 | void iphone_set_debug(int e); | ||
| 53 | 54 | ||
| 54 | typedef int16_t iphone_error_t; | 55 | typedef int16_t iphone_error_t; |
| 55 | 56 | ||
| @@ -72,7 +73,7 @@ iphone_error_t iphone_mux_send(iphone_umux_client_t client, const char *data, ui | |||
| 72 | iphone_error_t iphone_mux_recv(iphone_umux_client_t client, char *data, uint32_t datalen, uint32_t * recv_bytes); | 73 | iphone_error_t iphone_mux_recv(iphone_umux_client_t client, char *data, uint32_t datalen, uint32_t * recv_bytes); |
| 73 | iphone_error_t iphone_mux_recv_timeout(iphone_umux_client_t client, char *data, uint32_t datalen, uint32_t * recv_bytes, int timeout); | 74 | iphone_error_t iphone_mux_recv_timeout(iphone_umux_client_t client, char *data, uint32_t datalen, uint32_t * recv_bytes, int timeout); |
| 74 | 75 | ||
| 75 | void iphone_mux_pullbulk(iphone_device_t phone); | 76 | int iphone_mux_pullbulk(iphone_device_t phone); |
| 76 | 77 | ||
| 77 | iphone_error_t iphone_mux_get_error(iphone_umux_client_t client); | 78 | iphone_error_t iphone_mux_get_error(iphone_umux_client_t client); |
| 78 | 79 | ||
