diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2002-01-02 13:52:26 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2002-01-02 13:52:26 +0000 |
commit | 87ac7028e01cdc4f504ea558a6ae3d086ed1bf2b (patch) | |
tree | 4f406c877f88a013c4e1dc650ac312640a95cb00 /include/unarchive.h | |
parent | 438803311b67c6337ea97476e97336e027ef9a3a (diff) | |
download | busybox-w32-87ac7028e01cdc4f504ea558a6ae3d086ed1bf2b.tar.gz busybox-w32-87ac7028e01cdc4f504ea558a6ae3d086ed1bf2b.tar.bz2 busybox-w32-87ac7028e01cdc4f504ea558a6ae3d086ed1bf2b.zip |
unzip applet by Laurence Anderson
----------------------------------------------------------------------
Diffstat (limited to 'include/unarchive.h')
-rw-r--r-- | include/unarchive.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/unarchive.h b/include/unarchive.h index be49f3d01..eada1c337 100644 --- a/include/unarchive.h +++ b/include/unarchive.h | |||
@@ -26,11 +26,13 @@ typedef struct file_headers_s { | |||
26 | mode_t mode; | 26 | mode_t mode; |
27 | time_t mtime; | 27 | time_t mtime; |
28 | dev_t device; | 28 | dev_t device; |
29 | int (*extract_func)(FILE *, FILE *); | ||
29 | } file_header_t; | 30 | } file_header_t; |
30 | 31 | ||
31 | file_header_t *get_header_ar(FILE *in_file); | 32 | file_header_t *get_header_ar(FILE *in_file); |
32 | file_header_t *get_header_cpio(FILE *src_stream); | 33 | file_header_t *get_header_cpio(FILE *src_stream); |
33 | file_header_t *get_header_tar(FILE *tar_stream); | 34 | file_header_t *get_header_tar(FILE *tar_stream); |
35 | file_header_t *get_header_zip(FILE *zip_stream); | ||
34 | 36 | ||
35 | void seek_sub_file(FILE *src_stream, const int count); | 37 | void seek_sub_file(FILE *src_stream, const int count); |
36 | 38 | ||