diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2014-07-03 22:09:22 +0200 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2014-07-09 15:52:18 +0200 |
commit | 1b7a31bd65d4e6bf5e337d6280e3d5319d460bef (patch) | |
tree | ebe7d27ea5681d1b3c772a7bc2e80025e94435a6 /libtar/libtar.h | |
parent | Color in the console (diff) | |
download | android_bootable_recovery-1b7a31bd65d4e6bf5e337d6280e3d5319d460bef.tar android_bootable_recovery-1b7a31bd65d4e6bf5e337d6280e3d5319d460bef.tar.gz android_bootable_recovery-1b7a31bd65d4e6bf5e337d6280e3d5319d460bef.tar.bz2 android_bootable_recovery-1b7a31bd65d4e6bf5e337d6280e3d5319d460bef.tar.lz android_bootable_recovery-1b7a31bd65d4e6bf5e337d6280e3d5319d460bef.tar.xz android_bootable_recovery-1b7a31bd65d4e6bf5e337d6280e3d5319d460bef.tar.zst android_bootable_recovery-1b7a31bd65d4e6bf5e337d6280e3d5319d460bef.zip |
Diffstat (limited to 'libtar/libtar.h')
-rw-r--r-- | libtar/libtar.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libtar/libtar.h b/libtar/libtar.h index 91523d043..e3154ae90 100644 --- a/libtar/libtar.h +++ b/libtar/libtar.h @@ -226,7 +226,7 @@ void th_finish(TAR *t); /***** extract.c ***********************************************************/ /* sequentially extract next file from t */ -int tar_extract_file(TAR *t, char *realname, char *prefix); +int tar_extract_file(TAR *t, char *realname, char *prefix, const int *progress_fd); /* extract different file types */ int tar_extract_dir(TAR *t, char *realname); @@ -237,7 +237,7 @@ int tar_extract_blockdev(TAR *t, char *realname); int tar_extract_fifo(TAR *t, char *realname); /* for regfiles, we need to extract the content blocks as well */ -int tar_extract_regfile(TAR *t, char *realname); +int tar_extract_regfile(TAR *t, char *realname, const int *progress_fd); int tar_skip_regfile(TAR *t); @@ -294,7 +294,7 @@ void int_to_oct_nonull(int num, char *oct, size_t octlen); /* extract groups of files */ int tar_extract_glob(TAR *t, char *globname, char *prefix); -int tar_extract_all(TAR *t, char *prefix); +int tar_extract_all(TAR *t, char *prefix, const int *progress_fd); /* add a whole tree of files */ int tar_append_tree(TAR *t, char *realdir, char *savedir, char *exclude); |