diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2001-10-13 23:43:46 +0400 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2001-10-13 23:43:46 +0400 |
commit | 4bef7b41861f02874bce4ac6ab0c8c2484d41d07 (patch) | |
tree | 68cc6368c5bdca2b2d34213bc66b978fd7a26b03 /include | |
parent | 051eee6ed3056145edeee14d7ab4de9e2f723164 (diff) |
unarchive function changed to support both exclude and include lists, applets that use unarchive changed to match.
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h index bbdbc6c86..3ef0278f8 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -245,8 +245,8 @@ enum extract_functions_e { extract_quiet = 2048, extract_exclude_list = 4096 }; -char *unarchive(FILE *src_stream, FILE *out_stream, file_header_t *(*get_header)(FILE *), - const int extract_function, const char *prefix, char **extract_names); +char *unarchive(FILE *src_stream, FILE *out_stream, file_header_t *(*get_headers)(FILE *), + const int extract_function, const char *prefix, char **include_name, char **exclude_name); char *deb_extract(const char *package_filename, FILE *out_stream, const int extract_function, const char *prefix, const char *filename); int read_package_field(const char *package_buffer, char **field_name, char **field_value); |