diff options
author | kientzle <kientzle@FreeBSD.org> | 2004-04-28 04:41:27 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2004-04-28 04:41:27 +0000 |
commit | 4f6d19ce20f8f561fa9e1fe7261d5a9991cd68de (patch) | |
tree | bde271e0176f2528e906220fb052eacb00d57033 /lib/libarchive/archive.h.in | |
parent | d6382fb16020a26e25981a0a7a51cb75aa79485e (diff) | |
download | FreeBSD-src-4f6d19ce20f8f561fa9e1fe7261d5a9991cd68de.zip FreeBSD-src-4f6d19ce20f8f561fa9e1fe7261d5a9991cd68de.tar.gz |
Add statistics: track offset in compressed and uncompressed archive,
provide an interface for the client to query this information.
Diffstat (limited to 'lib/libarchive/archive.h.in')
-rw-r--r-- | lib/libarchive/archive.h.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libarchive/archive.h.in b/lib/libarchive/archive.h.in index 1ac0b2b..7918310 100644 --- a/lib/libarchive/archive.h.in +++ b/lib/libarchive/archive.h.in @@ -257,6 +257,11 @@ void archive_write_finish(struct archive *); * Accessor functions to read/set various information in * the struct archive object: */ +/* Bytes written after compression or read before decompression. */ +int64_t archive_position_compressed(struct archive *); +/* Bytes written to compressor or read from decompressor. */ +int64_t archive_position_uncompressed(struct archive *); + const char *archive_compression_name(struct archive *); int archive_compression(struct archive *); int archive_errno(struct archive *); |