diff options
author | Martin Szulecki | 2009-07-15 16:16:40 +0200 |
---|---|---|
committer | Matt Colyer | 2009-07-18 10:40:07 -0700 |
commit | 0be7debdc3b08e07b7f8bc2e32fed6aed587e09d (patch) | |
tree | ec6171781ba3525205a58c30a4225d3b52220f28 /include | |
parent | 484ff2166a2de58dd185a05fefea47a3f8165033 (diff) | |
download | libimobiledevice-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')
-rw-r--r-- | include/libiphone/lockdown.h | 5 |
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 |