From a5ef09fae04cd4274542b9f5f052e439e56450fc Mon Sep 17 00:00:00 2001 From: graham.gower Date: Thu, 26 Nov 2009 19:41:44 -0500 Subject: Add error checking to deb_extract(), unarchive(), extract_archive(). et al. git-svn-id: http://opkg.googlecode.com/svn/trunk@390 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libbb/libbb.h') diff --git a/libbb/libbb.h b/libbb/libbb.h index 2c9f2f1..879786e 100644 --- a/libbb/libbb.h +++ b/libbb/libbb.h @@ -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); -- cgit v0.9.1