From 519af01f7dcb448b59ca13bdc1a1b060484f41ec Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sat, 2 Feb 2019 00:23:55 +0100 Subject: Use ipsw.me API to allow selection and download of any signed firmware version when using --latest --- src/ipsw.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ipsw.h') diff --git a/src/ipsw.h b/src/ipsw.h index c4a1a4e..1c19e92 100644 --- a/src/ipsw.h +++ b/src/ipsw.h @@ -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); -- cgit v1.1-32-gdbae