summaryrefslogtreecommitdiff
path: root/libarchive/archive_entry.h
diff options
context:
space:
mode:
authorMartin Matuska <martin@matuska.org>2016-11-24 00:17:17 +0100
committerMartin Matuska <martin@matuska.org>2016-11-24 00:36:02 +0100
commit412c186d1498378969b160c6dbbfcc3956570879 (patch)
tree6114f8a5613e6fe7f20f271eaae567012220adf8 /libarchive/archive_entry.h
parent515c0f32612d990af5e4245dcdb135a89432a9ed (diff)
downloadlibarchive-412c186d1498378969b160c6dbbfcc3956570879.tar.gz
Add archive_entry_acl_types() to check ACL types in an entry's ACL
Diffstat (limited to 'libarchive/archive_entry.h')
-rw-r--r--libarchive/archive_entry.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libarchive/archive_entry.h b/libarchive/archive_entry.h
index 71b1e87e..b6a5d89c 100644
--- a/libarchive/archive_entry.h
+++ b/libarchive/archive_entry.h
@@ -508,6 +508,9 @@ __LA_DECL const wchar_t *archive_entry_acl_text_w(struct archive_entry *,
__LA_DECL const char *archive_entry_acl_text(struct archive_entry *,
int /* flags */);
+/* Return bitmask of ACL types in an archive entry */
+__LA_DECL int archive_entry_acl_types(struct archive_entry *);
+
/* Return a count of entries matching 'want_type' */
__LA_DECL int archive_entry_acl_count(struct archive_entry *, int /* want_type */);