From f60d22f4ae41521d33ed85189733c7538ab65794 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Sun, 10 Jan 2010 23:38:27 +0100 Subject: Extend lockdown_query_type to actually return the type of the service daemon --- include/libiphone/lockdown.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/libiphone') diff --git a/include/libiphone/lockdown.h b/include/libiphone/lockdown.h index 459fbbd..4a82258 100644 --- a/include/libiphone/lockdown.h +++ b/include/libiphone/lockdown.h @@ -58,7 +58,7 @@ typedef struct lockdownd_client_int *lockdownd_client_t; 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_query_type(lockdownd_client_t client, char **type); 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); lockdownd_error_t lockdownd_remove_value(lockdownd_client_t client, const char *domain, const char *key); -- cgit v1.1-32-gdbae