From 2ed6658bbce90e89f0a4e3aba41704944f10b1f1 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 4 Jul 2019 13:26:27 +0200 Subject: tar2sqfs: repack extended attributes into squashfs filesystem Signed-off-by: David Oberhollenzer --- include/squashfs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/squashfs.h b/include/squashfs.h index ed3fd38..6e2214b 100644 --- a/include/squashfs.h +++ b/include/squashfs.h @@ -2,6 +2,7 @@ #ifndef SQUASHFS_H #define SQUASHFS_H +#include #include #include @@ -250,4 +251,7 @@ int sqfs_super_write(sqfs_super_t *super, int fd); /* Returns 0 on success. Prints error messages to stderr on failure. */ int sqfs_super_read(sqfs_super_t *super, int fd); +/* Check if a given xattr key can be encoded in squashfs at all. */ +bool sqfs_has_xattr(const char *key); + #endif /* SQUASHFS_H */ -- cgit v1.2.3