summaryrefslogtreecommitdiffstats
path: root/src/idevicerestore.h
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-07-09 03:47:42 +0200
committerGravatar Martin Szulecki2010-07-09 03:47:42 +0200
commit4090b98d9e8cdaada701ac320e20f7c8b0cf88f6 (patch)
treedf380c2461c0be04009b864769261cf9a89439ec /src/idevicerestore.h
parentbfd4f97062a89d046d73f9e7439ac5e74ef8dcdc (diff)
downloadidevicerestore-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/idevicerestore.h')
-rw-r--r--src/idevicerestore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idevicerestore.h b/src/idevicerestore.h
index 3213b0c..f529b5b 100644
--- a/src/idevicerestore.h
+++ b/src/idevicerestore.h
@@ -42,7 +42,7 @@ int extract_buildmanifest(struct idevicerestore_client_t* client, const char* ip
plist_t get_build_identity(struct idevicerestore_client_t* client, plist_t buildmanifest, uint32_t identity);
int get_shsh_blobs(struct idevicerestore_client_t* client, uint64_t ecid, plist_t build_identity, plist_t* tss);
int extract_filesystem(struct idevicerestore_client_t* client, const char* ipsw, plist_t buildmanifest, char** filesystem);
-int get_signed_component(struct idevicerestore_client_t* client, const char* ipsw, plist_t tss, const char* path, char** data, uint32_t* size);
+int ipsw_get_component_by_path(const char* ipsw, plist_t tss, const char* path, char** data, uint32_t* size);
int build_identity_get_component_path(plist_t build_identity, const char* component, char** path);
#ifdef __cplusplus