diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2001-04-15 12:51:59 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2001-04-15 12:51:59 +0000 |
commit | 685f5fd6f473f802b465500d5ec7c1baba0ec357 (patch) | |
tree | 1afa19b480add8d7c3a582b93b31971c23d5594f /libbb/libbb.h | |
parent | a529d885d2ac3f0830764f70253e172bbb439133 (diff) | |
download | busybox-w32-685f5fd6f473f802b465500d5ec7c1baba0ec357.tar.gz busybox-w32-685f5fd6f473f802b465500d5ec7c1baba0ec357.tar.bz2 busybox-w32-685f5fd6f473f802b465500d5ec7c1baba0ec357.zip |
untar changed to allow deb_extract to extract to memory, allows better operation of dpkg-deb -f
Diffstat (limited to 'libbb/libbb.h')
-rw-r--r-- | libbb/libbb.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libbb/libbb.h b/libbb/libbb.h index 515bf2760..569ed9397 100644 --- a/libbb/libbb.h +++ b/libbb/libbb.h | |||
@@ -239,7 +239,9 @@ typedef enum extract_function_e { | |||
239 | extract_field = 128 | 239 | extract_field = 128 |
240 | } extract_function_t; | 240 | } extract_function_t; |
241 | extern int deb_extract(const char *package_filename, int function, char *target_dir); | 241 | extern int deb_extract(const char *package_filename, int function, char *target_dir); |
242 | extern int untar(FILE *src_tar_file, const int untar_function, const char *argument); | 242 | extern char *untar(FILE *src_tar_file, FILE *output, const int untar_function, const char *argument); |
243 | extern char *read_text_file_to_buffer(FILE *src_file); | ||
244 | extern char *read_package_field(const char *package_buffer); | ||
243 | 245 | ||
244 | extern int unzip(FILE *l_in_file, FILE *l_out_file); | 246 | extern int unzip(FILE *l_in_file, FILE *l_out_file); |
245 | extern void gz_close(int gunzip_pid); | 247 | extern void gz_close(int gunzip_pid); |