aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-05-27 15:29:11 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-05-30 17:49:40 +0200
commit36e70b384e1360e47f473be54ef3c0599bf82844 (patch)
treea58bdb2cf0063904f8c602137e494c4d658bc574 /lib
parente5f99ba93e08e237962bcf337848e60730aa2d54 (diff)
Cleanup: sqfs2tar: break up and simplify the repacking code
- Move the xattr extraction and repacking to xattr.c - Don't on-the-fly delete the tar xattr list, use the function from libtar.a - Split minor tasks into static helper functions - creating a libtar xattr struct from libsqfs xattr data - finding a hard link entry from current path and inode number Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib')
-rw-r--r--lib/tar/internal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/tar/internal.h b/lib/tar/internal.h
index 57746ae..e79596b 100644
--- a/lib/tar/internal.h
+++ b/lib/tar/internal.h
@@ -60,8 +60,6 @@ sparse_map_t *read_gnu_old_sparse(FILE *fp, tar_header_t *hdr);
void free_sparse_list(sparse_map_t *sparse);
-void free_xattr_list(tar_xattr_t *list);
-
size_t base64_decode(sqfs_u8 *out, const char *in, size_t len);
void urldecode(char *str);