summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-08-07 11:09:40 +0200
committerGravatar Martin Szulecki2013-08-07 11:09:40 +0200
commite7e9bc8a674b6d93c28c0d2416755c0ae1c8d146 (patch)
tree7e5f09df3b9634d88b4e79f628b07ce032fba3f6
parent7567728d13c4d43cffb5fcd0292e2fa4c412344d (diff)
downloadlibimobiledevice-e7e9bc8a674b6d93c28c0d2416755c0ae1c8d146.tar.gz
libimobiledevice-e7e9bc8a674b6d93c28c0d2416755c0ae1c8d146.tar.bz2
idevice: Export SSL control functions for idevice_connection_t
-rw-r--r--include/libimobiledevice/libimobiledevice.h2
-rw-r--r--src/idevice.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/include/libimobiledevice/libimobiledevice.h b/include/libimobiledevice/libimobiledevice.h
index 06363bd..e33715f 100644
--- a/include/libimobiledevice/libimobiledevice.h
+++ b/include/libimobiledevice/libimobiledevice.h
@@ -94,6 +94,8 @@ idevice_error_t idevice_disconnect(idevice_connection_t connection);
idevice_error_t idevice_connection_send(idevice_connection_t connection, const char *data, uint32_t len, uint32_t *sent_bytes);
idevice_error_t idevice_connection_receive_timeout(idevice_connection_t connection, char *data, uint32_t len, uint32_t *recv_bytes, unsigned int timeout);
idevice_error_t idevice_connection_receive(idevice_connection_t connection, char *data, uint32_t len, uint32_t *recv_bytes);
+idevice_error_t idevice_connection_enable_ssl(idevice_connection_t connection);
+idevice_error_t idevice_connection_disable_ssl(idevice_connection_t connection);
/* misc */
idevice_error_t idevice_get_handle(idevice_t device, uint32_t *handle);
diff --git a/src/idevice.h b/src/idevice.h
index 0fdcdfe..4aeaf33 100644
--- a/src/idevice.h
+++ b/src/idevice.h
@@ -69,7 +69,4 @@ struct idevice_private {
void *conn_data;
};
-idevice_error_t idevice_connection_enable_ssl(idevice_connection_t connection);
-idevice_error_t idevice_connection_disable_ssl(idevice_connection_t connection);
-
#endif