diff options
author | 2010-07-09 03:47:42 +0200 | |
---|---|---|
committer | 2010-07-09 03:47:42 +0200 | |
commit | 4090b98d9e8cdaada701ac320e20f7c8b0cf88f6 (patch) | |
tree | df380c2461c0be04009b864769261cf9a89439ec /src/recovery.h | |
parent | bfd4f97062a89d046d73f9e7439ac5e74ef8dcdc (diff) | |
download | idevicerestore-4090b98d9e8cdaada701ac320e20f7c8b0cf88f6.tar.gz idevicerestore-4090b98d9e8cdaada701ac320e20f7c8b0cf88f6.tar.bz2 |
Implement handling of devices which do not require a tss request
This introduces passing around the "selected" build identity and
fixes code logic issues to make idevicerestore work again.
Diffstat (limited to 'src/recovery.h')
-rw-r--r-- | src/recovery.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/recovery.h b/src/recovery.h index 5d1129f..b7cc0e4 100644 --- a/src/recovery.h +++ b/src/recovery.h @@ -43,12 +43,12 @@ int recovery_check_mode(); int recovery_open_with_timeout(struct idevicerestore_client_t* client); int recovery_client_new(struct idevicerestore_client_t* client); void recovery_client_free(struct idevicerestore_client_t* client); -int recovery_send_signed_component(struct idevicerestore_client_t* client, const char* component); -int recovery_send_ibec(struct idevicerestore_client_t* client); -int recovery_send_applelogo(struct idevicerestore_client_t* client); -int recovery_send_devicetree(struct idevicerestore_client_t* client); -int recovery_send_ramdisk(struct idevicerestore_client_t* client); -int recovery_send_kernelcache(struct idevicerestore_client_t* client); +int recovery_send_component(struct idevicerestore_client_t* client, plist_t build_identity, const char* component); +int recovery_send_ibec(struct idevicerestore_client_t* client, plist_t build_identity); +int recovery_send_applelogo(struct idevicerestore_client_t* client, plist_t build_identity); +int recovery_send_devicetree(struct idevicerestore_client_t* client, plist_t build_identity); +int recovery_send_ramdisk(struct idevicerestore_client_t* client, plist_t build_identity); +int recovery_send_kernelcache(struct idevicerestore_client_t* client, plist_t build_identity); int recovery_get_ecid(struct idevicerestore_client_t* client, uint64_t* ecid); int recovery_get_cpid(struct idevicerestore_client_t* client, uint32_t* cpid); int recovery_get_bdid(struct idevicerestore_client_t* client, uint32_t* bdid); |