summaryrefslogtreecommitdiffstats
path: root/src/ipsw.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2012-07-16 16:00:16 +0200
committerGravatar Nikias Bassen2012-07-16 16:00:16 +0200
commitbc6be463e4b1f8284c7fa8115920d41df4241569 (patch)
treef825a4cf81ddad8497ee1717f62a4e27cd9e0c05 /src/ipsw.h
parent1be0cef972a2af2ea4a0f8f2ea3111570d10eef2 (diff)
downloadidevicerestore-bc6be463e4b1f8284c7fa8115920d41df4241569.tar.gz
idevicerestore-bc6be463e4b1f8284c7fa8115920d41df4241569.tar.bz2
move ipsw on-demand download to ipsw.c
Diffstat (limited to 'src/ipsw.h')
-rw-r--r--src/ipsw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipsw.h b/src/ipsw.h
index a77bc84..ab320be 100644
--- a/src/ipsw.h
+++ b/src/ipsw.h
@@ -42,6 +42,8 @@ int ipsw_extract_build_manifest(const char* ipsw, plist_t* buildmanifest, int *t
int ipsw_extract_restore_plist(const char* ipsw, plist_t* restore_plist);
void ipsw_free_file(ipsw_file* file);
+int ipsw_download_latest_fw(plist_t version_data, const char* product, const char* todir, char** ipswfile);
+
#ifdef __cplusplus
}
#endif