summaryrefslogtreecommitdiffstats
path: root/src/iphone.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/iphone.h')
-rw-r--r--src/iphone.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/iphone.h b/src/iphone.h
index 51f9c9d..2755349 100644
--- a/src/iphone.h
+++ b/src/iphone.h
@@ -30,9 +30,16 @@ enum connection_type {
CONNECTION_USBMUXD = 1
};
+struct ssl_data_int {
+ gnutls_certificate_credentials_t certificate;
+ gnutls_session_t session;
+};
+typedef struct ssl_data_int *ssl_data_t;
+
struct iphone_connection_int {
enum connection_type type;
void *data;
+ ssl_data_t ssl_data;
};
struct iphone_device_int {
@@ -41,4 +48,7 @@ struct iphone_device_int {
void *conn_data;
};
+iphone_error_t iphone_connection_enable_ssl(iphone_connection_t connection);
+iphone_error_t iphone_connection_disable_ssl(iphone_connection_t connection);
+
#endif