summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2009-12-07 19:27:54 +0100
committerGravatar Matt Colyer2009-12-07 19:48:21 -0800
commit318cc4f7b336109819c7b4c6a1a9f2e8d37d9bed (patch)
tree04472b547ed5363dc1d6d4b9c4766823683ebc9d /include
parent6ae6880ce5cf00977dfdb204855a7308d7bf42c9 (diff)
downloadlibimobiledevice-318cc4f7b336109819c7b4c6a1a9f2e8d37d9bed.tar.gz
libimobiledevice-318cc4f7b336109819c7b4c6a1a9f2e8d37d9bed.tar.bz2
New function lockdownd_validate_pair()
This function allows the current host (or the host specified by the given HostID to become the trusted host of the device. [#89 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
Diffstat (limited to 'include')
-rw-r--r--include/libiphone/lockdown.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libiphone/lockdown.h b/include/libiphone/lockdown.h
index e6b75da..31ffeab 100644
--- a/include/libiphone/lockdown.h
+++ b/include/libiphone/lockdown.h
@@ -64,6 +64,7 @@ lockdownd_error_t lockdownd_stop_session(lockdownd_client_t client);
lockdownd_error_t lockdownd_send(lockdownd_client_t client, plist_t plist);
lockdownd_error_t lockdownd_recv(lockdownd_client_t client, plist_t *plist);
lockdownd_error_t lockdownd_pair(lockdownd_client_t client, char *host_id);
+lockdownd_error_t lockdownd_validate_pair(lockdownd_client_t client, char *host_id);
lockdownd_error_t lockdownd_get_device_uuid(lockdownd_client_t control, char **uuid);
lockdownd_error_t lockdownd_get_device_name(lockdownd_client_t client, char **device_name);
lockdownd_error_t lockdownd_enter_recovery(lockdownd_client_t client);