summaryrefslogtreecommitdiffstats
path: root/src/userpref.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/userpref.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/userpref.h')
-rw-r--r--src/userpref.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/userpref.h b/src/userpref.h
index c437e52..553c5df 100644
--- a/src/userpref.h
+++ b/src/userpref.h
@@ -35,12 +35,12 @@ char* get_host_id();
*
* @return 1 if device is already paired. Returns 0 otherwise.
*/
-int is_device_known(char* public_key);
+int is_device_known(char* uid);
/**
* @return 1 if everything went well. Returns 0 otherwise.
*/
-int store_device_public_key(char* public_key);
+int store_device_public_key(char* uid, char* public_key);
/**
* @return 1 if everything went well. Returns 0 otherwise.