summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-01-10 23:38:27 +0100
committerGravatar Martin Szulecki2010-01-10 23:38:27 +0100
commitf60d22f4ae41521d33ed85189733c7538ab65794 (patch)
tree19e822a91402fdd60008626b3d7aa5b177c8bb28 /include
parentb85fe20245809fb5a62a95c1b1efcd6ca4df9282 (diff)
downloadlibimobiledevice-f60d22f4ae41521d33ed85189733c7538ab65794.tar.gz
libimobiledevice-f60d22f4ae41521d33ed85189733c7538ab65794.tar.bz2
Extend lockdown_query_type to actually return the type of the service daemon
Diffstat (limited to 'include')
-rw-r--r--include/libiphone/lockdown.h2
1 files changed, 1 insertions, 1 deletions
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);