summaryrefslogtreecommitdiffstats
path: root/src/ipsw.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2012-07-17 01:37:42 +0200
committerGravatar Nikias Bassen2012-07-17 01:37:42 +0200
commit546e75e3ab6c27b0696da47c2b93dfbd5ea0c876 (patch)
treede57f4204c81d1a7e50de362fb5fd5238f0e6bed /src/ipsw.h
parent1174f8226b258cb778752e45d010285f6f6ff9fa (diff)
downloadidevicerestore-546e75e3ab6c27b0696da47c2b93dfbd5ea0c876.tar.gz
idevicerestore-546e75e3ab6c27b0696da47c2b93dfbd5ea0c876.tar.bz2
ipsw: change get_latest_fw to ipsw_get_latest_fw and make it public
Diffstat (limited to 'src/ipsw.h')
-rw-r--r--src/ipsw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ipsw.h b/src/ipsw.h
index ab320be..c61e73d 100644
--- a/src/ipsw.h
+++ b/src/ipsw.h
@@ -42,6 +42,7 @@ 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_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);
#ifdef __cplusplus