summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/archive_private.h
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2004-06-03 23:29:47 +0000
committerkientzle <kientzle@FreeBSD.org>2004-06-03 23:29:47 +0000
commit7cabd201cef39001c4ecb663b8f57dd1beeb30a5 (patch)
tree1b834095e506451fe3a7177b03ddfb3aa335f026 /lib/libarchive/archive_private.h
parente1825e175b00c8e9b20e50338e19802e6b2f3504 (diff)
downloadFreeBSD-src-7cabd201cef39001c4ecb663b8f57dd1beeb30a5.zip
FreeBSD-src-7cabd201cef39001c4ecb663b8f57dd1beeb30a5.tar.gz
Refactor the extraction code somewhat. In particular,
push extract data down into archive_read_extract.c and out of the library-global archive_private.h; push dir-specific mode/time fixup down into dir restore function; now that the fixup list is file-local, I can use somewhat more natural naming. Oh, yeah, update a bunch of comments to match current reality.
Diffstat (limited to 'lib/libarchive/archive_private.h')
-rw-r--r--lib/libarchive/archive_private.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libarchive/archive_private.h b/lib/libarchive/archive_private.h
index ddf50b1..713584f 100644
--- a/lib/libarchive/archive_private.h
+++ b/lib/libarchive/archive_private.h
@@ -184,8 +184,7 @@ struct archive {
/*
* Various information needed by archive_extract.
*/
- struct archive_string extract_mkdirpath;
- struct archive_extract_fixup *archive_extract_fixup;
+ struct extract *extract;
void (*extract_progress)(void *);
void *extract_progress_user_data;
void (*cleanup_archive_extract)(struct archive *);
OpenPOWER on IntegriCloud