diff options
Diffstat (limited to 'libbb/libbb.h')
-rw-r--r-- | libbb/libbb.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libbb/libbb.h b/libbb/libbb.h index bc8e3c5..515bf27 100644 --- a/libbb/libbb.h +++ b/libbb/libbb.h @@ -235,10 +235,11 @@ typedef enum extract_function_e { extract_extract = 8, extract_verbose_extract = 16, extract_list = 32, - extract_fsys_tarfile = 64 + extract_fsys_tarfile = 64, + extract_field = 128 } extract_function_t; extern int deb_extract(const char *package_filename, int function, char *target_dir); -extern int untar(FILE *src_tar_file, int untar_function, char *base_path); +extern int untar(FILE *src_tar_file, const int untar_function, const char *argument); extern int unzip(FILE *l_in_file, FILE *l_out_file); extern void gz_close(int gunzip_pid); |