diff options
Diffstat (limited to 'src/lockdown.h')
| -rw-r--r-- | src/lockdown.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/lockdown.h b/src/lockdown.h index 91bcc77..2f2a4b9 100644 --- a/src/lockdown.h +++ b/src/lockdown.h | |||
| @@ -23,7 +23,6 @@ | |||
| 23 | #define LOCKDOWND_H | 23 | #define LOCKDOWND_H |
| 24 | 24 | ||
| 25 | #include "usbmux.h" | 25 | #include "usbmux.h" |
| 26 | #include "plist.h" | ||
| 27 | 26 | ||
| 28 | #include <gnutls/gnutls.h> | 27 | #include <gnutls/gnutls.h> |
| 29 | #include <string.h> | 28 | #include <string.h> |
| @@ -41,17 +40,17 @@ struct iphone_lckd_client_int { | |||
| 41 | char session_id[40]; | 40 | char session_id[40]; |
| 42 | }; | 41 | }; |
| 43 | 42 | ||
| 44 | char *lockdownd_generate_hostid(void); | ||
| 45 | |||
| 46 | iphone_lckd_client_t new_lockdownd_client(iphone_device_t phone); | 43 | iphone_lckd_client_t new_lockdownd_client(iphone_device_t phone); |
| 47 | iphone_error_t lockdownd_hello(iphone_lckd_client_t control); | 44 | iphone_error_t lockdownd_hello(iphone_lckd_client_t control); |
| 48 | iphone_error_t lockdownd_generic_get_value(iphone_lckd_client_t control, const char *req_key, const char *req_string, | ||
| 49 | char **value); | ||
| 50 | iphone_error_t lockdownd_get_device_public_key(iphone_lckd_client_t control, char **public_key); | ||
| 51 | 45 | ||
| 52 | iphone_error_t lockdownd_gen_pair_cert(char *public_key_b64, char **device_cert_b64, char **host_cert_b64, | 46 | iphone_error_t lockdownd_generic_get_value(iphone_lckd_client_t control, const char *req_key, char *req_string, |
| 53 | char **root_cert_b64); | 47 | gnutls_datum_t * value); |
| 54 | iphone_error_t lockdownd_pair_device(iphone_lckd_client_t control, char *public_key, char *host_id); | 48 | |
| 49 | iphone_error_t lockdownd_get_device_public_key(iphone_lckd_client_t control, gnutls_datum_t * public_key); | ||
| 50 | |||
| 51 | iphone_error_t lockdownd_gen_pair_cert(gnutls_datum_t public_key, gnutls_datum_t * device_cert, | ||
| 52 | gnutls_datum_t * host_cert, gnutls_datum_t * root_cert); | ||
| 53 | iphone_error_t lockdownd_pair_device(iphone_lckd_client_t control, char *uid, char *host_id); | ||
| 55 | void lockdownd_close(iphone_lckd_client_t control); | 54 | void lockdownd_close(iphone_lckd_client_t control); |
| 56 | 55 | ||
| 57 | // SSL functions | 56 | // SSL functions |
