diff options
| author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-06-05 19:06:42 +0200 | 
|---|---|---|
| committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-06-05 16:01:34 +0200 | 
| commit | c9a8adc15f9de110771156fdc85fb98533648a53 (patch) | |
| tree | cdd6300b1c69a002628a76c4bac45ac6664111d9 /lib/tar/src/cleanup.c | |
| parent | 57ca46cdd74fd1004a3b0476c136e1f26fcf002d (diff) | |
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 <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/tar/src/cleanup.c')
| -rw-r--r-- | lib/tar/src/cleanup.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/lib/tar/src/cleanup.c b/lib/tar/src/cleanup.c index 3ba8019..145f34d 100644 --- a/lib/tar/src/cleanup.c +++ b/lib/tar/src/cleanup.c @@ -7,6 +7,7 @@  #include "config.h"  #include "internal.h" +#include "sqfs/xattr.h"  #include <stdlib.h>  #include <string.h> @@ -23,7 +24,7 @@ void free_sparse_list(sparse_map_t *sparse)  void clear_header(tar_header_decoded_t *hdr)  { -	dir_entry_xattr_list_free(hdr->xattr); +	sqfs_xattr_list_free(hdr->xattr);  	free_sparse_list(hdr->sparse);  	free(hdr->name);  	free(hdr->link_target); | 
