summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-01-08 01:13:35 +0100
committerGravatar Martin Szulecki2010-01-08 01:13:35 +0100
commit0ac0908fd09627e789c7bb2255aed8109ca2e47f (patch)
tree61df2e20713bb88933aff7357e3cecb34788ab76 /include
parent5e45779a8d22068f54e0dbdc42995be27b858e18 (diff)
downloadlibimobiledevice-0ac0908fd09627e789c7bb2255aed8109ca2e47f.tar.gz
libimobiledevice-0ac0908fd09627e789c7bb2255aed8109ca2e47f.tar.bz2
Allow set the label of a lockdown request, usually set to the program name
Diffstat (limited to 'include')
-rw-r--r--include/libiphone/lockdown.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libiphone/lockdown.h b/include/libiphone/lockdown.h
index 31ffeab..55dc3eb 100644
--- a/include/libiphone/lockdown.h
+++ b/include/libiphone/lockdown.h
@@ -53,8 +53,9 @@ struct lockdownd_client_int;
53typedef struct lockdownd_client_int *lockdownd_client_t; 53typedef struct lockdownd_client_int *lockdownd_client_t;
54 54
55/* Interface */ 55/* Interface */
56lockdownd_error_t lockdownd_client_new(iphone_device_t device, lockdownd_client_t *client); 56lockdownd_error_t lockdownd_client_new(iphone_device_t device, lockdownd_client_t *client, const char *label);
57lockdownd_error_t lockdownd_client_free(lockdownd_client_t client); 57lockdownd_error_t lockdownd_client_free(lockdownd_client_t client);
58void lockdownd_client_set_label(lockdownd_client_t client, const char *label);
58lockdownd_error_t lockdownd_query_type(lockdownd_client_t client); 59lockdownd_error_t lockdownd_query_type(lockdownd_client_t client);
59lockdownd_error_t lockdownd_get_value(lockdownd_client_t client, const char *domain, const char *key, plist_t *value); 60lockdownd_error_t lockdownd_get_value(lockdownd_client_t client, const char *domain, const char *key, plist_t *value);
60lockdownd_error_t lockdownd_set_value(lockdownd_client_t client, const char *domain, const char *key, plist_t value); 61lockdownd_error_t lockdownd_set_value(lockdownd_client_t client, const char *domain, const char *key, plist_t value);