summaryrefslogtreecommitdiff
path: root/include/unarchive.h
diff options
context:
space:
mode:
authorGlenn L McGrath2002-01-02 13:52:26 +0000
committerGlenn L McGrath2002-01-02 13:52:26 +0000
commit87ac7028e01cdc4f504ea558a6ae3d086ed1bf2b (patch)
tree4f406c877f88a013c4e1dc650ac312640a95cb00 /include/unarchive.h
parent438803311b67c6337ea97476e97336e027ef9a3a (diff)
downloadbusybox-87ac7028e01cdc4f504ea558a6ae3d086ed1bf2b.zip
busybox-87ac7028e01cdc4f504ea558a6ae3d086ed1bf2b.tar.gz
unzip applet by Laurence Anderson
----------------------------------------------------------------------
Diffstat (limited to 'include/unarchive.h')
-rw-r--r--include/unarchive.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/unarchive.h b/include/unarchive.h
index be49f3d..eada1c3 100644
--- a/include/unarchive.h
+++ b/include/unarchive.h
@@ -26,11 +26,13 @@ typedef struct file_headers_s {
mode_t mode;
time_t mtime;
dev_t device;
+ int (*extract_func)(FILE *, FILE *);
} file_header_t;
file_header_t *get_header_ar(FILE *in_file);
file_header_t *get_header_cpio(FILE *src_stream);
file_header_t *get_header_tar(FILE *tar_stream);
+file_header_t *get_header_zip(FILE *zip_stream);
void seek_sub_file(FILE *src_stream, const int count);