diff options
| author | 2010-01-08 20:22:47 +0100 | |
|---|---|---|
| committer | 2010-01-08 20:22:47 +0100 | |
| commit | 3d157a4762119e28433003e42f4af469e32ba860 (patch) | |
| tree | 5ab48137b18036dc87a11451168d4116e8f0b8c5 /include/libiphone | |
| parent | 9cc97faebcaabd6af2f9cc9280ba6a0f8cd85e60 (diff) | |
| download | libimobiledevice-3d157a4762119e28433003e42f4af469e32ba860.tar.gz libimobiledevice-3d157a4762119e28433003e42f4af469e32ba860.tar.bz2 | |
Implement lockdown activate and deactive
Passing the right activiation record allows activating a phone using
this functionality.
Diffstat (limited to 'include/libiphone')
| -rw-r--r-- | include/libiphone/lockdown.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libiphone/lockdown.h b/include/libiphone/lockdown.h index da684c6..f076cf2 100644 --- a/include/libiphone/lockdown.h +++ b/include/libiphone/lockdown.h | |||
| @@ -44,6 +44,7 @@ extern "C" { | |||
| 44 | #define LOCKDOWN_E_GET_VALUE_PROHIBITED -10 | 44 | #define LOCKDOWN_E_GET_VALUE_PROHIBITED -10 |
| 45 | #define LOCKDOWN_E_REMOVE_VALUE_PROHIBITED -11 | 45 | #define LOCKDOWN_E_REMOVE_VALUE_PROHIBITED -11 |
| 46 | #define LOCKDOWN_E_MUX_ERROR -12 | 46 | #define LOCKDOWN_E_MUX_ERROR -12 |
| 47 | #define LOCKDOWN_E_ACTIVATION_FAILED -13 | ||
| 47 | 48 | ||
| 48 | #define LOCKDOWN_E_UNKNOWN_ERROR -256 | 49 | #define LOCKDOWN_E_UNKNOWN_ERROR -256 |
| 49 | 50 | ||
| @@ -67,6 +68,8 @@ lockdownd_error_t lockdownd_recv(lockdownd_client_t client, plist_t *plist); | |||
| 67 | lockdownd_error_t lockdownd_pair(lockdownd_client_t client, char *host_id); | 68 | lockdownd_error_t lockdownd_pair(lockdownd_client_t client, char *host_id); |
| 68 | lockdownd_error_t lockdownd_validate_pair(lockdownd_client_t client, char *host_id); | 69 | lockdownd_error_t lockdownd_validate_pair(lockdownd_client_t client, char *host_id); |
| 69 | lockdownd_error_t lockdownd_unpair(lockdownd_client_t client, char *host_id); | 70 | lockdownd_error_t lockdownd_unpair(lockdownd_client_t client, char *host_id); |
| 71 | lockdownd_error_t lockdownd_activate(lockdownd_client_t client, plist_t activation_record); | ||
| 72 | lockdownd_error_t lockdownd_deactivate(lockdownd_client_t client); | ||
| 70 | lockdownd_error_t lockdownd_get_device_uuid(lockdownd_client_t control, char **uuid); | 73 | lockdownd_error_t lockdownd_get_device_uuid(lockdownd_client_t control, char **uuid); |
| 71 | lockdownd_error_t lockdownd_get_device_name(lockdownd_client_t client, char **device_name); | 74 | lockdownd_error_t lockdownd_get_device_name(lockdownd_client_t client, char **device_name); |
| 72 | lockdownd_error_t lockdownd_enter_recovery(lockdownd_client_t client); | 75 | lockdownd_error_t lockdownd_enter_recovery(lockdownd_client_t client); |
