diff options
| author | 2013-08-07 11:09:40 +0200 | |
|---|---|---|
| committer | 2013-08-07 11:09:40 +0200 | |
| commit | e7e9bc8a674b6d93c28c0d2416755c0ae1c8d146 (patch) | |
| tree | 7e5f09df3b9634d88b4e79f628b07ce032fba3f6 | |
| parent | 7567728d13c4d43cffb5fcd0292e2fa4c412344d (diff) | |
| download | libimobiledevice-e7e9bc8a674b6d93c28c0d2416755c0ae1c8d146.tar.gz libimobiledevice-e7e9bc8a674b6d93c28c0d2416755c0ae1c8d146.tar.bz2 | |
idevice: Export SSL control functions for idevice_connection_t
| -rw-r--r-- | include/libimobiledevice/libimobiledevice.h | 2 | ||||
| -rw-r--r-- | src/idevice.h | 3 |
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); | |||
| 94 | idevice_error_t idevice_connection_send(idevice_connection_t connection, const char *data, uint32_t len, uint32_t *sent_bytes); | 94 | idevice_error_t idevice_connection_send(idevice_connection_t connection, const char *data, uint32_t len, uint32_t *sent_bytes); |
| 95 | idevice_error_t idevice_connection_receive_timeout(idevice_connection_t connection, char *data, uint32_t len, uint32_t *recv_bytes, unsigned int timeout); | 95 | idevice_error_t idevice_connection_receive_timeout(idevice_connection_t connection, char *data, uint32_t len, uint32_t *recv_bytes, unsigned int timeout); |
| 96 | idevice_error_t idevice_connection_receive(idevice_connection_t connection, char *data, uint32_t len, uint32_t *recv_bytes); | 96 | idevice_error_t idevice_connection_receive(idevice_connection_t connection, char *data, uint32_t len, uint32_t *recv_bytes); |
| 97 | idevice_error_t idevice_connection_enable_ssl(idevice_connection_t connection); | ||
| 98 | idevice_error_t idevice_connection_disable_ssl(idevice_connection_t connection); | ||
| 97 | 99 | ||
| 98 | /* misc */ | 100 | /* misc */ |
| 99 | idevice_error_t idevice_get_handle(idevice_t device, uint32_t *handle); | 101 | 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 { | |||
| 69 | void *conn_data; | 69 | void *conn_data; |
| 70 | }; | 70 | }; |
| 71 | 71 | ||
| 72 | idevice_error_t idevice_connection_enable_ssl(idevice_connection_t connection); | ||
| 73 | idevice_error_t idevice_connection_disable_ssl(idevice_connection_t connection); | ||
| 74 | |||
| 75 | #endif | 72 | #endif |
