summaryrefslogtreecommitdiffstats
path: root/include/libiphone
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-07-15 16:16:40 +0200
committerGravatar Matt Colyer2009-07-18 10:40:07 -0700
commit0be7debdc3b08e07b7f8bc2e32fed6aed587e09d (patch)
treeec6171781ba3525205a58c30a4225d3b52220f28 /include/libiphone
parent484ff2166a2de58dd185a05fefea47a3f8165033 (diff)
downloadlibimobiledevice-0be7debdc3b08e07b7f8bc2e32fed6aed587e09d.tar.gz
libimobiledevice-0be7debdc3b08e07b7f8bc2e32fed6aed587e09d.tar.bz2
Implement lockdown set_value, remove_value and enter_recovery request API
[#46 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
Diffstat (limited to 'include/libiphone')
-rw-r--r--include/libiphone/lockdown.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/libiphone/lockdown.h b/include/libiphone/lockdown.h
index 805c90b..20ccf77 100644
--- a/include/libiphone/lockdown.h
+++ b/include/libiphone/lockdown.h
@@ -34,7 +34,9 @@ typedef struct lockdownd_client_int *lockdownd_client_t;
iphone_error_t lockdownd_new_client (iphone_device_t device, lockdownd_client_t *client);
iphone_error_t lockdownd_free_client(lockdownd_client_t client);
iphone_error_t lockdownd_query_type(lockdownd_client_t client);
-iphone_error_t lockdownd_get_value(lockdownd_client_t client, const char *domain, const char *key, plist_t *value_node);
+iphone_error_t lockdownd_get_value(lockdownd_client_t client, const char *domain, const char *key, plist_t *value);
+iphone_error_t lockdownd_set_value(lockdownd_client_t client, const char *domain, const char *key, plist_t value);
+iphone_error_t lockdownd_remove_value(lockdownd_client_t client, const char *domain, const char *key);
iphone_error_t lockdownd_start_service (lockdownd_client_t client, const char *service, int *port);
iphone_error_t lockdownd_stop_session(lockdownd_client_t client);
iphone_error_t lockdownd_send (lockdownd_client_t client, plist_t plist);
@@ -42,6 +44,7 @@ iphone_error_t lockdownd_recv (lockdownd_client_t client, plist_t *plist);
iphone_error_t lockdownd_pair(lockdownd_client_t client, char *uid, char *host_id);
iphone_error_t lockdownd_get_device_uid (lockdownd_client_t control, char **uid);
iphone_error_t lockdownd_get_device_name (lockdownd_client_t client, char **device_name);
+iphone_error_t lockdownd_enter_recovery(lockdownd_client_t client);
iphone_error_t lockdownd_goodbye(lockdownd_client_t client);
#ifdef __cplusplus