diff options
| author | 2019-11-07 23:25:55 +0100 | |
|---|---|---|
| committer | 2019-11-07 23:25:55 +0100 | |
| commit | 5390060ec90bed0f565698a389cebc57c09c3ac8 (patch) | |
| tree | a73a3306a5a0449c7bf7cbe555dcaf2771ebda1c /src/idevice.h | |
| parent | 8872aec759699411be45a17798dab40b9539c2ae (diff) | |
| download | libimobiledevice-5390060ec90bed0f565698a389cebc57c09c3ac8.tar.gz libimobiledevice-5390060ec90bed0f565698a389cebc57c09c3ac8.tar.bz2 | |
Add propert support for network (WiFi) devices via new idevice_new_with_options()
Diffstat (limited to 'src/idevice.h')
| -rw-r--r-- | src/idevice.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/idevice.h b/src/idevice.h index f403c55..8709c9a 100644 --- a/src/idevice.h +++ b/src/idevice.h | |||
| @@ -48,10 +48,6 @@ | |||
| 48 | 48 | ||
| 49 | #define DEVICE_VERSION(maj, min, patch) (((maj & 0xFF) << 16) | ((min & 0xFF) << 8) | (patch & 0xFF)) | 49 | #define DEVICE_VERSION(maj, min, patch) (((maj & 0xFF) << 16) | ((min & 0xFF) << 8) | (patch & 0xFF)) |
| 50 | 50 | ||
| 51 | enum connection_type { | ||
| 52 | CONNECTION_USBMUXD = 1 | ||
| 53 | }; | ||
| 54 | |||
| 55 | struct ssl_data_private { | 51 | struct ssl_data_private { |
| 56 | #ifdef HAVE_OPENSSL | 52 | #ifdef HAVE_OPENSSL |
| 57 | SSL *session; | 53 | SSL *session; |
| @@ -69,7 +65,7 @@ typedef struct ssl_data_private *ssl_data_t; | |||
| 69 | 65 | ||
| 70 | struct idevice_connection_private { | 66 | struct idevice_connection_private { |
| 71 | idevice_t device; | 67 | idevice_t device; |
| 72 | enum connection_type type; | 68 | enum idevice_connection_type type; |
| 73 | void *data; | 69 | void *data; |
| 74 | ssl_data_t ssl_data; | 70 | ssl_data_t ssl_data; |
| 75 | }; | 71 | }; |
| @@ -77,7 +73,7 @@ struct idevice_connection_private { | |||
| 77 | struct idevice_private { | 73 | struct idevice_private { |
| 78 | char *udid; | 74 | char *udid; |
| 79 | uint32_t mux_id; | 75 | uint32_t mux_id; |
| 80 | enum connection_type conn_type; | 76 | enum idevice_connection_type conn_type; |
| 81 | void *conn_data; | 77 | void *conn_data; |
| 82 | int version; | 78 | int version; |
| 83 | }; | 79 | }; |
