summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/archive_private.h
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2004-05-13 06:01:14 +0000
committerkientzle <kientzle@FreeBSD.org>2004-05-13 06:01:14 +0000
commitd53721efa1cc6cfbf2c82f3bc2464f465a4455fd (patch)
tree9691b4723d8aed8daf1435d3e0403fb5001a0fc5 /lib/libarchive/archive_private.h
parent4b192dc71d7a4ad730460b2df5ff4dcb15ffcdca (diff)
downloadFreeBSD-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_private.h')
-rw-r--r--lib/libarchive/archive_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libarchive/archive_private.h b/lib/libarchive/archive_private.h
index f7f4158..f3d3b87 100644
--- a/lib/libarchive/archive_private.h
+++ b/lib/libarchive/archive_private.h
@@ -192,6 +192,8 @@ struct archive {
*/
struct archive_string extract_mkdirpath;
struct archive_extract_dir_entry *archive_extract_dir_list;
+ void (*extract_progress)(void *);
+ void *extract_progress_user_data;
void (*cleanup_archive_extract)(struct archive *);
int archive_error_number;
OpenPOWER on IntegriCloud