diff options
author | Matt Colyer | 2009-07-26 19:34:22 -0700 |
---|---|---|
committer | Matt Colyer | 2009-07-26 19:34:22 -0700 |
commit | eea538c94f01f8054f69f059614f19400187a472 (patch) | |
tree | 209a12dc8c8eaece15b8153d15e689c8c2147ab6 /src/lockdown.h | |
parent | 8ebfd7d8eea89bb27e4e6dbb1f37fd90d98b439c (diff) | |
parent | 19c9750d670435ce430f0fc85a55faf127bdfbf9 (diff) | |
download | libimobiledevice-eea538c94f01f8054f69f059614f19400187a472.tar.gz libimobiledevice-eea538c94f01f8054f69f059614f19400187a472.tar.bz2 |
Merge commit 'martin-s/martin'
[#46 state:resolved]
Diffstat (limited to 'src/lockdown.h')
-rw-r--r-- | src/lockdown.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lockdown.h b/src/lockdown.h index 185d27a..1e193f6 100644 --- a/src/lockdown.h +++ b/src/lockdown.h @@ -24,6 +24,7 @@ #include <gnutls/gnutls.h> #include <string.h> + #include "libiphone/lockdown.h" struct lockdownd_client_int { @@ -33,13 +34,14 @@ struct lockdownd_client_int { char session_id[40]; }; -iphone_error_t lockdownd_get_device_public_key(lockdownd_client_t client, gnutls_datum_t * public_key); -iphone_error_t lockdownd_gen_pair_cert(gnutls_datum_t public_key, gnutls_datum_t * device_cert, +lockdownd_error_t lockdownd_get_device_public_key(lockdownd_client_t client, gnutls_datum_t * public_key); +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 -iphone_error_t lockdownd_start_ssl_session(lockdownd_client_t client, const char *HostID); +/* SSL functions */ +lockdownd_error_t lockdownd_start_ssl_session(lockdownd_client_t client, const char *HostID); 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 |