summaryrefslogtreecommitdiffstats
path: root/src/idevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/idevice.h')
-rw-r--r--src/idevice.h8
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
51enum connection_type {
52 CONNECTION_USBMUXD = 1
53};
54
55struct ssl_data_private { 51struct 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
70struct idevice_connection_private { 66struct 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 {
77struct idevice_private { 73struct 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};