summaryrefslogtreecommitdiffstats
path: root/src/usbmux.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/usbmux.h')
-rw-r--r--src/usbmux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usbmux.h b/src/usbmux.h
index dd3ee07..831f0fd 100644
--- a/src/usbmux.h
+++ b/src/usbmux.h
@@ -45,7 +45,7 @@ typedef struct {
typedef struct {
usbmux_tcp_header *header;
- iPhone *phone;
+ iphone_device_t phone;
char *recv_buffer;
int r_len;
} usbmux_connection;
@@ -58,7 +58,7 @@ typedef struct {
usbmux_version_header *version_header();
-usbmux_connection *mux_connect(iPhone *phone, uint16 s_port, uint16 d_port);
+usbmux_connection *mux_connect(iphone_device_t phone, uint16 s_port, uint16 d_port);
void mux_close_connection(usbmux_connection *connection);
int mux_send(usbmux_connection *connection, const char *data, uint32 datalen);
int mux_recv(usbmux_connection *connection, char *data, uint32 datalen);