diff options
Diffstat (limited to 'lib/libarchive/archive_private.h')
-rw-r--r-- | lib/libarchive/archive_private.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/libarchive/archive_private.h b/lib/libarchive/archive_private.h index 24e52f41bf6a..21655e7a2614 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 |