summaryrefslogtreecommitdiffstats
path: root/src/ipsw.h
diff options
context:
space:
mode:
authorGravatar Joshua Hill2010-05-25 00:25:02 -0400
committerGravatar Joshua Hill2010-05-25 00:25:02 -0400
commit507825f0130fec6d148f6177a11833321ffc7fce (patch)
tree97dafd8d98d0e89b49cb8724075f65f6c93fef11 /src/ipsw.h
parent9457cfd1b496e1e5ba48d1b387a040e9402ed80b (diff)
downloadidevicerestore-507825f0130fec6d148f6177a11833321ffc7fce.tar.gz
idevicerestore-507825f0130fec6d148f6177a11833321ffc7fce.tar.bz2
Filesystem is now restoring, need to add in kernelcache restore and nor restore and everything should be good.
Note: The latest HEAD from marcan's usbmuxd is required for this program to work. Linux kernel drivers do some wacky stuff with iPod audio interfaces
Diffstat (limited to 'src/ipsw.h')
-rw-r--r--src/ipsw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipsw.h b/src/ipsw.h
index 6a49937..f764611 100644
--- a/src/ipsw.h
+++ b/src/ipsw.h
@@ -31,7 +31,7 @@ typedef struct {
unsigned char* data;
} ipsw_file;
-ipsw_file* ipsw_extract_file(const char* ipsw, const char* filename);
+int ipsw_extract_to_memory(const char* ipsw, const char* infile, char** pbuffer, int* psize);
void ipsw_free_file(ipsw_file* file);
#endif