diff options
author | kientzle <kientzle@FreeBSD.org> | 2004-05-13 06:01:14 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2004-05-13 06:01:14 +0000 |
commit | d53721efa1cc6cfbf2c82f3bc2464f465a4455fd (patch) | |
tree | 9691b4723d8aed8daf1435d3e0403fb5001a0fc5 /lib/libarchive/archive.h | |
parent | 4b192dc71d7a4ad730460b2df5ff4dcb15ffcdca (diff) | |
download | FreeBSD-src-d53721efa1cc6cfbf2c82f3bc2464f465a4455fd.zip FreeBSD-src-d53721efa1cc6cfbf2c82f3bc2464f465a4455fd.tar.gz |
Add hook for a client-provided progress callback to be invoked
during lengthy extract operations.
Diffstat (limited to 'lib/libarchive/archive.h')
-rw-r--r-- | lib/libarchive/archive.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libarchive/archive.h b/lib/libarchive/archive.h index f0489eb..b8f03a3 100644 --- a/lib/libarchive/archive.h +++ b/lib/libarchive/archive.h @@ -200,6 +200,8 @@ ssize_t archive_read_data_into_fd(struct archive *, int fd); int archive_read_extract(struct archive *, struct archive_entry *, int flags); +void archive_read_extract_set_progress_callback(struct archive *, + void (*_progress_func)(void *), void *_user_data); /* Close the file, release any resources, and destroy the object. */ void archive_read_finish(struct archive *); |