diff options
author | Nikias Bassen | 2009-04-12 13:09:25 +0200 |
---|---|---|
committer | Nikias Bassen | 2009-04-12 13:09:25 +0200 |
commit | e1751b8c02822da3881b41a8e07a36665a163130 (patch) | |
tree | 76679eec9f375789c5e302f68ef27d7dc1643825 /iphone.h | |
parent | 0915fa88ac895e2ccbe6e34669c8b1bd73a5034e (diff) | |
download | usbmuxd-e1751b8c02822da3881b41a8e07a36665a163130.tar.gz usbmuxd-e1751b8c02822da3881b41a8e07a36665a163130.tar.bz2 |
better error handling, some cleanup, and changed confusing
struct/variable naming.
Diffstat (limited to 'iphone.h')
-rw-r--r-- | iphone.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -50,6 +50,7 @@ #define IPHONE_E_ETIMEDOUT -ETIMEDOUT #define IPHONE_E_ECONNREFUSED -ECONNREFUSED +void iphone_set_debug(int e); typedef int16_t iphone_error_t; @@ -72,7 +73,7 @@ iphone_error_t iphone_mux_send(iphone_umux_client_t client, const char *data, ui iphone_error_t iphone_mux_recv(iphone_umux_client_t client, char *data, uint32_t datalen, uint32_t * recv_bytes); iphone_error_t iphone_mux_recv_timeout(iphone_umux_client_t client, char *data, uint32_t datalen, uint32_t * recv_bytes, int timeout); -void iphone_mux_pullbulk(iphone_device_t phone); +int iphone_mux_pullbulk(iphone_device_t phone); iphone_error_t iphone_mux_get_error(iphone_umux_client_t client); |