summaryrefslogtreecommitdiffstats
path: root/src/lockdown.h
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2008-08-22 18:32:20 +0200
committerGravatar Jonathan Beck2008-08-22 18:32:20 +0200
commit7539f5fbf43a8d5b454cd0f7725cb5247d227647 (patch)
tree09ef1e2aabd356eb485425d3a2a5d551fc765b91 /src/lockdown.h
parent6b706ced7bea4223cce3b83f25268130226a9756 (diff)
downloadlibplist-7539f5fbf43a8d5b454cd0f7725cb5247d227647.tar.gz
libplist-7539f5fbf43a8d5b454cd0f7725cb5247d227647.tar.bz2
Handle known device through their UniqueDeviceID and use it as name to store PEM device public key.
Diffstat (limited to 'src/lockdown.h')
-rw-r--r--src/lockdown.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lockdown.h b/src/lockdown.h
index df70bbd..c542d65 100644
--- a/src/lockdown.h
+++ b/src/lockdown.h
@@ -44,7 +44,7 @@ int lockdownd_hello(lockdownd_client *control);
int lockdownd_get_device_uid(lockdownd_client *control, char **uid);
int lockdownd_get_device_public_key(lockdownd_client *control, char **public_key);
int lockdownd_gen_pair_cert(char *public_key_b64, char **device_cert_b64, char **host_cert_b64, char **root_cert_b64);
-int lockdownd_pair_device(lockdownd_client *control, char *public_key, char *host_id);
+int lockdownd_pair_device(lockdownd_client *control, char *uid, char *host_id);
int lockdownd_recv(lockdownd_client *control, char **dump_data);
int lockdownd_send(lockdownd_client *control, char *raw_data, uint32 length);
void lockdownd_close(lockdownd_client *control);