summaryrefslogtreecommitdiffstats
path: root/src/userpref.h
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-01-08 14:19:58 +0100
committerGravatar Martin Szulecki2010-01-08 14:19:58 +0100
commit0e8a77deea7b91de50c0d5ef29eb6c088d4abd37 (patch)
tree9fa8bc3595f3db77c74693809c7919bbeb019484 /src/userpref.h
parent43a2ba7bbb57365c0d51e4a958605937d215e668 (diff)
downloadlibimobiledevice-0e8a77deea7b91de50c0d5ef29eb6c088d4abd37.tar.gz
libimobiledevice-0e8a77deea7b91de50c0d5ef29eb6c088d4abd37.tar.bz2
Add userpref helper to allow removal of the stored device public key
Diffstat (limited to 'src/userpref.h')
-rw-r--r--src/userpref.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/userpref.h b/src/userpref.h
index 3540468..48b8969 100644
--- a/src/userpref.h
+++ b/src/userpref.h
@@ -38,6 +38,7 @@ G_GNUC_INTERNAL userpref_error_t userpref_get_keys_and_certs(gnutls_x509_privkey
G_GNUC_INTERNAL userpref_error_t userpref_set_keys_and_certs(gnutls_datum_t * root_key, gnutls_datum_t * root_cert, gnutls_datum_t * host_key, gnutls_datum_t * host_cert);
G_GNUC_INTERNAL userpref_error_t userpref_get_certs_as_pem(gnutls_datum_t *pem_root_cert, gnutls_datum_t *pem_host_cert);
G_GNUC_INTERNAL userpref_error_t userpref_set_device_public_key(const char *uuid, gnutls_datum_t public_key);
+G_GNUC_INTERNAL userpref_error_t userpref_remove_device_public_key(const char *uuid);
G_GNUC_INTERNAL int userpref_has_device_public_key(const char *uuid);
G_GNUC_INTERNAL void userpref_get_host_id(char **host_id);