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 @@
#include "common/userpref.h"
#include "libimobiledevice/libimobiledevice.h"
+#define DEVICE_VERSION(maj, min, patch) (((maj & 0xFF) << 16) | ((min & 0xFF) << 8) | (patch & 0xFF))
+
enum connection_type {
CONNECTION_USBMUXD = 1
};
@@ -66,7 +68,7 @@ struct ssl_data_private {
typedef struct ssl_data_private *ssl_data_t;
struct idevice_connection_private {
- char *udid;
+ idevice_t device;
enum connection_type type;
void *data;
ssl_data_t ssl_data;