diff options
author | 2019-02-02 00:23:55 +0100 | |
---|---|---|
committer | 2019-02-02 00:23:55 +0100 | |
commit | 519af01f7dcb448b59ca13bdc1a1b060484f41ec (patch) | |
tree | 3fc370ff01e8daefaa222884848e3d93142cd3db /src/ipsw.h | |
parent | 65572cab6baf92cbe4d43fcb0c7a44bc87d95b85 (diff) | |
download | idevicerestore-519af01f7dcb448b59ca13bdc1a1b060484f41ec.tar.gz idevicerestore-519af01f7dcb448b59ca13bdc1a1b060484f41ec.tar.bz2 |
Use ipsw.me API to allow selection and download of any signed firmware version when using --latest
Diffstat (limited to 'src/ipsw.h')
-rw-r--r-- | src/ipsw.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -47,6 +47,9 @@ 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_get_signed_firmwares(const char* product, plist_t* firmwares); +int ipsw_download_fw(const char *fwurl, unsigned char* isha1, const char* todir, char** ipswfile); + int ipsw_get_latest_fw(plist_t version_data, const char* product, char** fwurl, unsigned char* sha1buf); int ipsw_download_latest_fw(plist_t version_data, const char* product, const char* todir, char** ipswfile); |