diff options
author | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-11-26 19:41:44 (EST) |
---|---|---|
committer | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-11-26 19:41:44 (EST) |
commit | a5ef09fae04cd4274542b9f5f052e439e56450fc (patch) | |
tree | 81b37db4da7d8dd40ae9f977354bdf80b83b38e6 /libbb/libbb.h | |
parent | cc67a2a72b7b9eb1477c7afdff2ab4409689bb05 (diff) |
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
Diffstat (limited to 'libbb/libbb.h')
-rw-r--r-- | libbb/libbb.h | 3 |
1 files changed, 2 insertions, 1 deletions
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); |