summaryrefslogtreecommitdiffstats
path: root/src/idevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/idevice.h')
-rw-r--r--src/idevice.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/idevice.h b/src/idevice.h
index 94e828b..f403c55 100644
--- a/src/idevice.h
+++ b/src/idevice.h
@@ -46,6 +46,8 @@
46#include "common/userpref.h" 46#include "common/userpref.h"
47#include "libimobiledevice/libimobiledevice.h" 47#include "libimobiledevice/libimobiledevice.h"
48 48
49#define DEVICE_VERSION(maj, min, patch) (((maj & 0xFF) << 16) | ((min & 0xFF) << 8) | (patch & 0xFF))
50
49enum connection_type { 51enum connection_type {
50 CONNECTION_USBMUXD = 1 52 CONNECTION_USBMUXD = 1
51}; 53};
@@ -66,7 +68,7 @@ struct ssl_data_private {
66typedef struct ssl_data_private *ssl_data_t; 68typedef struct ssl_data_private *ssl_data_t;
67 69
68struct idevice_connection_private { 70struct idevice_connection_private {
69 char *udid; 71 idevice_t device;
70 enum connection_type type; 72 enum connection_type type;
71 void *data; 73 void *data;
72 ssl_data_t ssl_data; 74 ssl_data_t ssl_data;