From c9a8adc15f9de110771156fdc85fb98533648a53 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Mon, 5 Jun 2023 19:06:42 +0200 Subject: Move dir_entry_xattr_t from libio to libsquashfs The structure and functions are renamed to sqfs_xattr_* instead, an additional helper is added to accept an encoded xattr. Documentation and unit test are added as well. Signed-off-by: David Oberhollenzer --- include/tar/tar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/tar/tar.h') diff --git a/include/tar/tar.h b/include/tar/tar.h index f77b27c..24ec408 100644 --- a/include/tar/tar.h +++ b/include/tar/tar.h @@ -31,7 +31,7 @@ typedef struct { sqfs_u64 record_size; bool unknown_record; bool is_hard_link; - dir_entry_xattr_t *xattr; + sqfs_xattr_t *xattr; sqfs_u16 mode; sqfs_u64 uid; @@ -52,7 +52,7 @@ extern "C" { headers need to be generated. */ int write_tar_header(ostream_t *fp, const struct stat *sb, const char *name, - const char *slink_target, const dir_entry_xattr_t *xattr, + const char *slink_target, const sqfs_xattr_t *xattr, unsigned int counter); int write_hard_link(ostream_t *fp, const struct stat *sb, const char *name, -- cgit v1.2.3