From 9de537f6963e4e9770ee0aabfeb6982e3d422e69 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Tue, 12 Jan 2010 17:06:53 +0100 Subject: Allow lockdown client creation without performing full handshake The lockdown constructor was doing more than needed. Pairing and session negotiation is now handled by lockdownd_client_new_with_handshake(). --- include/libiphone/lockdown.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/libiphone/lockdown.h b/include/libiphone/lockdown.h index 4a82258..08431aa 100644 --- a/include/libiphone/lockdown.h +++ b/include/libiphone/lockdown.h @@ -56,6 +56,7 @@ typedef struct lockdownd_client_int *lockdownd_client_t; /* Interface */ lockdownd_error_t lockdownd_client_new(iphone_device_t device, lockdownd_client_t *client, const char *label); +lockdownd_error_t lockdownd_client_new_with_handshake(iphone_device_t device, lockdownd_client_t *client, const char *label); lockdownd_error_t lockdownd_client_free(lockdownd_client_t client); void lockdownd_client_set_label(lockdownd_client_t client, const char *label); lockdownd_error_t lockdownd_query_type(lockdownd_client_t client, char **type); -- cgit v1.1-32-gdbae