From 0ac0908fd09627e789c7bb2255aed8109ca2e47f Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Fri, 8 Jan 2010 01:13:35 +0100 Subject: Allow set the label of a lockdown request, usually set to the program name --- include/libiphone/lockdown.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/libiphone') 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); -- cgit v1.1-32-gdbae