diff options
| author | 2008-08-19 22:55:46 +0200 | |
|---|---|---|
| committer | 2008-08-31 19:27:20 +0200 | |
| commit | 89050631439f71ad652e68b59020f8801e100e45 (patch) | |
| tree | d1b64235991578d6b6bec70a2a0c371c2171a2f7 /src/usbmux.h | |
| parent | 318f4bd51a25d5572f2dfd6f26c89fce52f43076 (diff) | |
| download | libimobiledevice-89050631439f71ad652e68b59020f8801e100e45.tar.gz libimobiledevice-89050631439f71ad652e68b59020f8801e100e45.tar.bz2 | |
migrate iphone.c
Diffstat (limited to 'src/usbmux.h')
| -rw-r--r-- | src/usbmux.h | 4 |
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 { | |||
| 45 | 45 | ||
| 46 | typedef struct { | 46 | typedef struct { |
| 47 | usbmux_tcp_header *header; | 47 | usbmux_tcp_header *header; |
| 48 | iPhone *phone; | 48 | iphone_device_t phone; |
| 49 | char *recv_buffer; | 49 | char *recv_buffer; |
| 50 | int r_len; | 50 | int r_len; |
| 51 | } usbmux_connection; | 51 | } usbmux_connection; |
| @@ -58,7 +58,7 @@ typedef struct { | |||
| 58 | 58 | ||
| 59 | usbmux_version_header *version_header(); | 59 | usbmux_version_header *version_header(); |
| 60 | 60 | ||
| 61 | usbmux_connection *mux_connect(iPhone *phone, uint16 s_port, uint16 d_port); | 61 | usbmux_connection *mux_connect(iphone_device_t phone, uint16 s_port, uint16 d_port); |
| 62 | void mux_close_connection(usbmux_connection *connection); | 62 | void mux_close_connection(usbmux_connection *connection); |
| 63 | int mux_send(usbmux_connection *connection, const char *data, uint32 datalen); | 63 | int mux_send(usbmux_connection *connection, const char *data, uint32 datalen); |
| 64 | int mux_recv(usbmux_connection *connection, char *data, uint32 datalen); | 64 | int mux_recv(usbmux_connection *connection, char *data, uint32 datalen); |
