aboutsummaryrefslogtreecommitdiff
path: root/lib/libarchive/archive.h
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@FreeBSD.org>2004-04-05 21:12:29 +0000
committerTim Kientzle <kientzle@FreeBSD.org>2004-04-05 21:12:29 +0000
commit71b44796d9533309abbe22e7b26d3ee5bb3d0251 (patch)
tree65c99eaf5f048beaa6a7d9973eb8410048b1f15d /lib/libarchive/archive.h
parent7f8a436ff29ebeb1ce2ae2434add4505d5e7e2ca (diff)
Overhauled ACL support. This makes us compatible
with 'star' ACL handling, though there's still a bit more work needed in this area. Added 'write_open_fd' and 'read_open_fd' to simplify, e.g., tar's u and r modes. Eliminated old 'write_open_file_position' as a bad idea. (It required closing/reopening files to do updates, which led to unpleasant implications.) Various other minor fixes, API tweaks, etc.
Notes
Notes: svn path=/head/; revision=127912
Diffstat (limited to 'lib/libarchive/archive.h')
-rw-r--r--lib/libarchive/archive.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libarchive/archive.h b/lib/libarchive/archive.h
index 18a8bdb5e5fc..1ac0b2b12071 100644
--- a/lib/libarchive/archive.h
+++ b/lib/libarchive/archive.h
@@ -149,6 +149,8 @@ int archive_read_open(struct archive *, void *_client_data,
*/
int archive_read_open_file(struct archive *, const char *_file,
size_t _block_size);
+int archive_read_open_fd(struct archive *, int _fd,
+ size_t _block_size);
/* Parses and returns next entry header. */
int archive_read_next_header(struct archive *,
@@ -239,10 +241,8 @@ int archive_write_set_format_ustar(struct archive *);
int archive_write_open(struct archive *, void *,
archive_open_callback *, archive_write_callback *,
archive_close_callback *);
+int archive_write_open_fd(struct archive *, int _fd);
int archive_write_open_file(struct archive *, const char *_file);
-int archive_write_open_file_position(struct archive *,
- const char *_filename, int64_t offset);
-int archive_write_open_tar(struct archive *, const char *_file);
/*
* Note that the library will truncate writes beyond the size provided