diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2001-07-11 17:32:14 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2001-07-11 17:32:14 +0000 |
commit | c1270088401f1e3f4f8a6bfa2ff5b7228c4a8da0 (patch) | |
tree | 06b6690e1666bbdccc2b7bb809f3c1bbd8ce2ac3 /include/libbb.h | |
parent | 481d19b38e068e7db8459cb0e108f8049ce5919d (diff) | |
download | busybox-w32-c1270088401f1e3f4f8a6bfa2ff5b7228c4a8da0.tar.gz busybox-w32-c1270088401f1e3f4f8a6bfa2ff5b7228c4a8da0.tar.bz2 busybox-w32-c1270088401f1e3f4f8a6bfa2ff5b7228c4a8da0.zip |
Allow unarchive to redirect stdout (tobe used by dpkg applet)
Diffstat (limited to 'include/libbb.h')
-rw-r--r-- | include/libbb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index 0fc704501..4a4b9191c 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -239,7 +239,7 @@ enum extract_functions_e { | |||
239 | extract_unconditional = 512, | 239 | extract_unconditional = 512, |
240 | extract_create_leading_dirs = 1024 | 240 | extract_create_leading_dirs = 1024 |
241 | }; | 241 | }; |
242 | char *unarchive(FILE *src_stream, file_header_t *(*get_header)(FILE *), | 242 | char *unarchive(FILE *src_stream, FILE *out_stream, file_header_t *(*get_header)(FILE *), |
243 | const int extract_function, const char *prefix, char **extract_names); | 243 | const int extract_function, const char *prefix, char **extract_names); |
244 | char *deb_extract(const char *package_filename, FILE *out_stream, const int extract_function, | 244 | char *deb_extract(const char *package_filename, FILE *out_stream, const int extract_function, |
245 | const char *prefix, const char *filename); | 245 | const char *prefix, const char *filename); |