summaryrefslogtreecommitdiff
path: root/tar/bsdtar.h
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@gmail.com>2009-07-16 21:21:18 -0400
committerTim Kientzle <kientzle@gmail.com>2009-07-16 21:21:18 -0400
commitc609f0813d64ec8cdf687fa381c6af148d079e6d (patch)
tree64cb3d927c23a397c65fe9d7230f47c441975ede /tar/bsdtar.h
parentab649de78644b55fcb2e1fd5b056635c895dc4b0 (diff)
downloadlibarchive-c609f0813d64ec8cdf687fa381c6af148d079e6d.tar.gz
Overhaul the SIGINFO/SIGUSR1 reporting. This is a little
simpler and gives a lot more information. In particular, it reports total bytes in/out, total files and compression ratio, in addition to reporting the current file being processed. SVN-Revision: 1223
Diffstat (limited to 'tar/bsdtar.h')
-rw-r--r--tar/bsdtar.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/tar/bsdtar.h b/tar/bsdtar.h
index 0c8dc69c..ff1aff56 100644
--- a/tar/bsdtar.h
+++ b/tar/bsdtar.h
@@ -79,7 +79,6 @@ struct bsdtar {
int fd;
/* Miscellaneous state information */
- struct archive *archive;
int argc;
char **argv;
const char *optarg;
@@ -139,14 +138,10 @@ enum {
int bsdtar_getopt(struct bsdtar *);
void do_chdir(struct bsdtar *);
int edit_pathname(struct bsdtar *, struct archive_entry *);
+int need_report(void);
int pathcmp(const char *a, const char *b);
void safe_fprintf(FILE *, const char *fmt, ...);
void set_chdir(struct bsdtar *, const char *newdir);
-void siginfo_init(struct bsdtar *);
-void siginfo_setinfo(struct bsdtar *, const char * oper,
- const char * path, int64_t size);
-void siginfo_printinfo(struct bsdtar *, off_t progress);
-void siginfo_done(struct bsdtar *);
void tar_mode_c(struct bsdtar *bsdtar);
void tar_mode_r(struct bsdtar *bsdtar);
void tar_mode_t(struct bsdtar *bsdtar);