unzip applet by Laurence Anderson

----------------------------------------------------------------------
This commit is contained in:
Glenn L McGrath
2002-01-02 13:52:26 +00:00
parent 438803311b
commit 87ac7028e0
13 changed files with 302 additions and 78 deletions

View File

@ -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);