diff options
Diffstat (limited to 'src/lockdown.h')
| -rw-r--r-- | src/lockdown.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/lockdown.h b/src/lockdown.h index f22d7db..62c453f 100644 --- a/src/lockdown.h +++ b/src/lockdown.h | |||
| @@ -43,19 +43,17 @@ struct iphone_lckd_client_int { | |||
| 43 | char *lockdownd_generate_hostid(); | 43 | char *lockdownd_generate_hostid(); |
| 44 | 44 | ||
| 45 | iphone_lckd_client_t new_lockdownd_client(iphone_device_t phone); | 45 | iphone_lckd_client_t new_lockdownd_client(iphone_device_t phone); |
| 46 | int lockdownd_hello(iphone_lckd_client_t control); | 46 | iphone_error_t lockdownd_hello(iphone_lckd_client_t control); |
| 47 | int lockdownd_get_device_uid(iphone_lckd_client_t control, char **uid); | 47 | iphone_error_t lockdownd_get_device_uid(iphone_lckd_client_t control, char **uid); |
| 48 | int lockdownd_get_device_public_key(iphone_lckd_client_t control, char **public_key); | 48 | iphone_error_t lockdownd_get_device_public_key(iphone_lckd_client_t control, char **public_key); |
| 49 | 49 | ||
| 50 | int lockdownd_gen_pair_cert(char *public_key_b64, char **device_cert_b64, char **host_cert_b64, char **root_cert_b64); | 50 | iphone_error_t lockdownd_gen_pair_cert(char *public_key_b64, char **device_cert_b64, char **host_cert_b64, char **root_cert_b64); |
| 51 | int lockdownd_pair_device(iphone_lckd_client_t control, char *public_key, char *host_id); | 51 | iphone_error_t lockdownd_pair_device(iphone_lckd_client_t control, char *public_key, char *host_id); |
| 52 | int lockdownd_recv(iphone_lckd_client_t control, char **dump_data); | ||
| 53 | int lockdownd_send(iphone_lckd_client_t control, char *raw_data, uint32 length); | ||
| 54 | void lockdownd_close(iphone_lckd_client_t control); | 52 | void lockdownd_close(iphone_lckd_client_t control); |
| 55 | 53 | ||
| 56 | // SSL functions | 54 | // SSL functions |
| 57 | 55 | ||
| 58 | int lockdownd_start_SSL_session(iphone_lckd_client_t control, const char *HostID); | 56 | iphone_error_t lockdownd_start_SSL_session(iphone_lckd_client_t control, const char *HostID); |
| 59 | ssize_t lockdownd_securead(gnutls_transport_ptr_t transport, char *buffer, size_t length); | 57 | ssize_t lockdownd_securead(gnutls_transport_ptr_t transport, char *buffer, size_t length); |
| 60 | ssize_t lockdownd_secuwrite(gnutls_transport_ptr_t transport, char *buffer, size_t length); | 58 | ssize_t lockdownd_secuwrite(gnutls_transport_ptr_t transport, char *buffer, size_t length); |
| 61 | 59 | ||
