summaryrefslogtreecommitdiffstats
path: root/src/ipsw.h
diff options
context:
space:
mode:
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