summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibarchive/libarchive/archive_read_disk_private.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-07-31 12:49:09 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-07-31 12:49:09 (GMT)
commit0cecc7b485774be084a6d5a72e743ed9893daa5d (patch)
tree0a1671d014267e5ab8a209f1c58e779b016bcaf4 /Utilities/cmlibarchive/libarchive/archive_read_disk_private.h
parente3b6ab92dbb51945b81896f2d2a53f31ba63ae1a (diff)
parent26fe7e3adfc76a733ecc74794f22d53755ac194a (diff)
downloadCMake-0cecc7b485774be084a6d5a72e743ed9893daa5d.zip
CMake-0cecc7b485774be084a6d5a72e743ed9893daa5d.tar.gz
CMake-0cecc7b485774be084a6d5a72e743ed9893daa5d.tar.bz2
Merge topic 'update-libarchive'
26fe7e3 libarchive: Backport to CMake 2.8.2 b81a4e1 libarchive: Remove build options not used by CMake 3218f52 libarchive: Avoid struct init with variable bae3a73 libarchive: Silence API deprecation warnings 6773840 libarchive: Include cm_zlib.h to get zlib used by CMake 8dc0a9f libarchive: Update README-CMake.txt for new snapshot 102071f Merge branch 'libarchive-upstream' into update-libarchive 35df7c8 libarchive 3.1.2 (reduced)
Diffstat (limited to 'Utilities/cmlibarchive/libarchive/archive_read_disk_private.h')
-rw-r--r--Utilities/cmlibarchive/libarchive/archive_read_disk_private.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_read_disk_private.h b/Utilities/cmlibarchive/libarchive/archive_read_disk_private.h
index 4446474..e5af16b 100644
--- a/Utilities/cmlibarchive/libarchive/archive_read_disk_private.h
+++ b/Utilities/cmlibarchive/libarchive/archive_read_disk_private.h
@@ -34,6 +34,7 @@
#define ARCHIVE_READ_DISK_PRIVATE_H_INCLUDED
struct tree;
+struct archive_entry;
struct archive_read_disk {
struct archive archive;
@@ -55,10 +56,18 @@ struct archive_read_disk {
/* Directory traversals. */
struct tree *tree;
+ int (*open_on_current_dir)(struct tree*, const char *, int);
+ int (*tree_current_dir_fd)(struct tree*);
+ int (*tree_enter_working_dir)(struct tree*);
/* Set 1 if users request to restore atime . */
int restore_time;
- int entry_wd_fd;
+ /* Set 1 if users request to honor nodump flag . */
+ int honor_nodump;
+ /* Set 1 if users request to enable mac copyfile. */
+ int enable_copyfile;
+ /* Set 1 if users request to traverse mount points. */
+ int traverse_mount_points;
const char * (*lookup_gname)(void *private, int64_t gid);
void (*cleanup_gname)(void *private);
@@ -66,6 +75,18 @@ struct archive_read_disk {
const char * (*lookup_uname)(void *private, int64_t uid);
void (*cleanup_uname)(void *private);
void *lookup_uname_data;
+
+ int (*metadata_filter_func)(struct archive *, void *,
+ struct archive_entry *);
+ void *metadata_filter_data;
+
+ /* ARCHIVE_MATCH object. */
+ struct archive *matching;
+ /* Callback function, this will be invoked when ARCHIVE_MATCH
+ * archive_match_*_excluded_ae return true. */
+ void (*excluded_cb_func)(struct archive *, void *,
+ struct archive_entry *);
+ void *excluded_cb_data;
};
#endif