diff options
author | Glenn L McGrath | 2001-10-13 19:43:46 +0000 |
---|---|---|
committer | Glenn L McGrath | 2001-10-13 19:43:46 +0000 |
commit | 4bef7b41861f02874bce4ac6ab0c8c2484d41d07 (patch) | |
tree | 68cc6368c5bdca2b2d34213bc66b978fd7a26b03 /include/libbb.h | |
parent | 051eee6ed3056145edeee14d7ab4de9e2f723164 (diff) | |
download | busybox-4bef7b41861f02874bce4ac6ab0c8c2484d41d07.zip busybox-4bef7b41861f02874bce4ac6ab0c8c2484d41d07.tar.gz |
unarchive function changed to support both exclude and include lists, applets that use unarchive changed to match.
Diffstat (limited to 'include/libbb.h')
-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 bbdbc6c..3ef0278 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); |