Add error checking to deb_extract(), unarchive(), extract_archive(). et al.
[oweals/opkg-lede.git] / libbb / libbb.h
index 2c9f2f1258d78b1ea829282b1f6e1b4290219047..879786ebae3aceab607082d02c9af428fdadd815 100644 (file)
@@ -94,7 +94,8 @@ enum extract_functions_e {
 };
 
 char *deb_extract(const char *package_filename, FILE *out_stream,
-               const int extract_function, const char *prefix, const char *filename);
+               const int extract_function, const char *prefix,
+               const char *filename, int *err);
 
 extern int unzip(FILE *l_in_file, FILE *l_out_file);
 extern void gz_close(int gunzip_pid);