summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/archive_private.h
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2004-04-05 21:12:29 +0000
committerkientzle <kientzle@FreeBSD.org>2004-04-05 21:12:29 +0000
commit775d07093eb7dc5701457147a8404f0eae443538 (patch)
tree65c99eaf5f048beaa6a7d9973eb8410048b1f15d /lib/libarchive/archive_private.h
parent74cf37bd00b1e09a0b991b7b1edd335d8e0c2355 (diff)
downloadFreeBSD-src-775d07093eb7dc5701457147a8404f0eae443538.zip
FreeBSD-src-775d07093eb7dc5701457147a8404f0eae443538.tar.gz
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.
Diffstat (limited to 'lib/libarchive/archive_private.h')
-rw-r--r--lib/libarchive/archive_private.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/libarchive/archive_private.h b/lib/libarchive/archive_private.h
index 24e52f4..21655e7 100644
--- a/lib/libarchive/archive_private.h
+++ b/lib/libarchive/archive_private.h
@@ -29,6 +29,8 @@
#ifndef ARCHIVE_PRIVATE_H_INCLUDED
#define ARCHIVE_PRIVATE_H_INCLUDED
+#include <wchar.h>
+
#include "archive.h"
#include "archive_string.h"
@@ -229,4 +231,18 @@ int __archive_read_register_compression(struct archive *a,
#define err_combine(a,b) ((a) < (b) ? (a) : (b))
+
+/*
+ * Private ACL handling: parse and generate ACL strings.
+ * These are private because they handle a lot of very weird formats
+ * that clients should not be messing with. Clients should only
+ * deal with their platform-native formats. Because of the need to
+ * support many formats cleanly, new arguments are likely to get added
+ * on a regular basis. Clients who try to use this interface are
+ * likely to be surprised when it changes.
+ */
+int __archive_entry_acl_parse_w(struct archive_entry *,
+ const wchar_t *, int type);
+const wchar_t *__archive_entry_acl_text_w(struct archive_entry *, int type);
+
#endif
OpenPOWER on IntegriCloud