summaryrefslogtreecommitdiffstats
path: root/src/ipsw.h
diff options
context:
space:
mode:
authorGravatar Joshua Hill2010-05-24 15:35:08 -0400
committerGravatar Joshua Hill2010-05-24 15:35:08 -0400
commit92c2879d16148f47ff38f3490f24768bb8eb61f6 (patch)
tree4357e98965ecdc2bbb8ce43ef4c8bfc9f2b17c0a /src/ipsw.h
parentdb663abb4d7fd66b5433d46d46b7cdeda22fccdc (diff)
downloadidevicerestore-92c2879d16148f47ff38f3490f24768bb8eb61f6.tar.gz
idevicerestore-92c2879d16148f47ff38f3490f24768bb8eb61f6.tar.bz2
Have it sending DeviceTree now and started on ramdisk. Started to clean up a little bit, but not everything yet.
Diffstat (limited to 'src/ipsw.h')
-rw-r--r--src/ipsw.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ipsw.h b/src/ipsw.h
index 5cbad19..6a49937 100644
--- a/src/ipsw.h
+++ b/src/ipsw.h
@@ -25,19 +25,13 @@
#include <zip.h>
typedef struct {
- struct zip* zip;
-} ipsw_archive;
-
-typedef struct {
int index;
char* name;
unsigned int size;
unsigned char* data;
} ipsw_file;
-ipsw_archive* ipsw_open(const char* ipsw);
-ipsw_file* ipsw_extract_file(ipsw_archive* archive, const char* filename);
+ipsw_file* ipsw_extract_file(const char* ipsw, const char* filename);
void ipsw_free_file(ipsw_file* file);
-void ipsw_close(ipsw_archive* archive);
#endif