diff options
author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-10-13 19:43:46 +0000 |
---|---|---|
committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-10-13 19:43:46 +0000 |
commit | e35431e9356980bd9ff763b5cb13905ef0580818 (patch) | |
tree | 68cc6368c5bdca2b2d34213bc66b978fd7a26b03 /include/libbb.h | |
parent | 48269e8e47f1efb159ea7d8f1fb8cc3ad4646be6 (diff) | |
download | busybox-w32-e35431e9356980bd9ff763b5cb13905ef0580818.tar.gz busybox-w32-e35431e9356980bd9ff763b5cb13905ef0580818.tar.bz2 busybox-w32-e35431e9356980bd9ff763b5cb13905ef0580818.zip |
unarchive function changed to support both exclude and include lists, applets that use unarchive changed to match.
git-svn-id: svn://busybox.net/trunk/busybox@3516 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 bbdbc6c86..3ef0278f8 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -245,8 +245,8 @@ enum extract_functions_e { | |||
245 | extract_quiet = 2048, | 245 | extract_quiet = 2048, |
246 | extract_exclude_list = 4096 | 246 | extract_exclude_list = 4096 |
247 | }; | 247 | }; |
248 | char *unarchive(FILE *src_stream, FILE *out_stream, file_header_t *(*get_header)(FILE *), | 248 | char *unarchive(FILE *src_stream, FILE *out_stream, file_header_t *(*get_headers)(FILE *), |
249 | const int extract_function, const char *prefix, char **extract_names); | 249 | const int extract_function, const char *prefix, char **include_name, char **exclude_name); |
250 | char *deb_extract(const char *package_filename, FILE *out_stream, const int extract_function, | 250 | char *deb_extract(const char *package_filename, FILE *out_stream, const int extract_function, |
251 | const char *prefix, const char *filename); | 251 | const char *prefix, const char *filename); |
252 | int read_package_field(const char *package_buffer, char **field_name, char **field_value); | 252 | int read_package_field(const char *package_buffer, char **field_name, char **field_value); |