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;
typedef struct lockdownd_client_int *lockdownd_client_t;
/* Interface */
-lockdownd_error_t lockdownd_client_new(iphone_device_t device, lockdownd_client_t *client);
+lockdownd_error_t lockdownd_client_new(iphone_device_t device, lockdownd_client_t *client, const char *label);
lockdownd_error_t lockdownd_client_free(lockdownd_client_t client);
+void lockdownd_client_set_label(lockdownd_client_t client, const char *label);
lockdownd_error_t lockdownd_query_type(lockdownd_client_t client);
lockdownd_error_t lockdownd_get_value(lockdownd_client_t client, const char *domain, const char *key, plist_t *value);
lockdownd_error_t lockdownd_set_value(lockdownd_client_t client, const char *domain, const char *key, plist_t value);