diff options
author | 2010-07-09 03:47:42 +0200 | |
---|---|---|
committer | 2010-07-09 03:47:42 +0200 | |
commit | 4090b98d9e8cdaada701ac320e20f7c8b0cf88f6 (patch) | |
tree | df380c2461c0be04009b864769261cf9a89439ec /src/restore.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/restore.h')
-rw-r--r-- | src/restore.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/restore.h b/src/restore.h index 5446aa8..9c11c34 100644 --- a/src/restore.h +++ b/src/restore.h @@ -47,10 +47,10 @@ int restore_reboot(struct idevicerestore_client_t* client); const char* restore_progress_string(unsigned int operation); int restore_handle_status_msg(restored_client_t client, plist_t msg); int restore_handle_progress_msg(restored_client_t client, plist_t msg); -int restore_handle_data_request_msg(struct idevicerestore_client_t* client, idevice_t device, restored_client_t restore, plist_t message, plist_t tss, const char* ipsw, const char* filesystem); -int restore_send_nor(restored_client_t client, const char* ipsw, plist_t tss); -int restore_send_kernelcache(restored_client_t client, const char* ipsw, plist_t tss); -int restore_device(struct idevicerestore_client_t* client, const char* uuid, const char* ipsw, plist_t tss, const char* filesystem); +int restore_handle_data_request_msg(struct idevicerestore_client_t* client, idevice_t device, restored_client_t restore, plist_t message, plist_t build_identity, const char* filesystem); +int restore_send_nor(restored_client_t restore, struct idevicerestore_client_t* client, plist_t build_identity); +int restore_send_kernelcache(restored_client_t restore, struct idevicerestore_client_t* client, plist_t build_identity); +int restore_device(struct idevicerestore_client_t* client, plist_t build_identity, const char* filesystem); int restore_open_with_timeout(struct idevicerestore_client_t* client); int restore_send_filesystem(idevice_t device, const char* filesystem); |