diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/libbb.h b/include/libbb.h index 569ed9397..4b06ad12c 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -236,10 +236,13 @@ typedef enum extract_function_e { | |||
236 | extract_verbose_extract = 16, | 236 | extract_verbose_extract = 16, |
237 | extract_list = 32, | 237 | extract_list = 32, |
238 | extract_fsys_tarfile = 64, | 238 | extract_fsys_tarfile = 64, |
239 | extract_field = 128 | 239 | extract_field = 128, |
240 | extract_contents_to_file = 256 | ||
240 | } extract_function_t; | 241 | } extract_function_t; |
241 | extern int deb_extract(const char *package_filename, int function, char *target_dir); | 242 | extern char *deb_extract(const char *package_filename, const int function, |
242 | extern char *untar(FILE *src_tar_file, FILE *output, const int untar_function, const char *argument); | 243 | const char *argument, const char *argument2); |
244 | extern char *untar(FILE *src_tar_file, FILE *output, const int untar_function, | ||
245 | const char *argument, const char *file_prefix); | ||
243 | extern char *read_text_file_to_buffer(FILE *src_file); | 246 | extern char *read_text_file_to_buffer(FILE *src_file); |
244 | extern char *read_package_field(const char *package_buffer); | 247 | extern char *read_package_field(const char *package_buffer); |
245 | 248 | ||