diff options
author | Martin Szulecki | 2010-01-12 17:17:48 +0100 |
---|---|---|
committer | Martin Szulecki | 2010-01-12 17:17:48 +0100 |
commit | 219a8db037ec1cc163d2ad4902e6e4578040a2de (patch) | |
tree | 2084e1b9bd0b3666042ce0a1cf2c68f6d8650ee5 /src/lockdown.h | |
parent | e7884c40d73e25ee6e6addb3f9d9efc0ffbe068e (diff) | |
download | libimobiledevice-219a8db037ec1cc163d2ad4902e6e4578040a2de.tar.gz libimobiledevice-219a8db037ec1cc163d2ad4902e6e4578040a2de.tar.bz2 |
Refactor lockdown session handling and expose it in public API
This splits out SSL code and allows implementations to manually handle
session start and stop if needed. Also brings the API closer to the
lockdown request protocol.
Diffstat (limited to 'src/lockdown.h')
-rw-r--r-- | src/lockdown.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lockdown.h b/src/lockdown.h index d7a18b5..9da3872 100644 --- a/src/lockdown.h +++ b/src/lockdown.h @@ -42,10 +42,4 @@ lockdownd_error_t lockdownd_get_device_public_key(lockdownd_client_t client, gnu lockdownd_error_t lockdownd_gen_pair_cert(gnutls_datum_t public_key, gnutls_datum_t * device_cert, gnutls_datum_t * host_cert, gnutls_datum_t * root_cert); -/* SSL functions */ -lockdownd_error_t lockdownd_start_ssl_session(lockdownd_client_t client, const char *host_id); -ssize_t lockdownd_securead(gnutls_transport_ptr_t transport, char *buffer, size_t length); -ssize_t lockdownd_secuwrite(gnutls_transport_ptr_t transport, char *buffer, size_t length); - - #endif |