From c1270088401f1e3f4f8a6bfa2ff5b7228c4a8da0 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Wed, 11 Jul 2001 17:32:14 +0000 Subject: Allow unarchive to redirect stdout (tobe used by dpkg applet) --- include/libbb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/libbb.h b/include/libbb.h index 0fc7045..4a4b919 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -239,7 +239,7 @@ enum extract_functions_e { extract_unconditional = 512, extract_create_leading_dirs = 1024 }; -char *unarchive(FILE *src_stream, file_header_t *(*get_header)(FILE *), +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 *deb_extract(const char *package_filename, FILE *out_stream, const int extract_function, const char *prefix, const char *filename); -- cgit v1.1