diff options
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 | ||