summaryrefslogtreecommitdiff
path: root/include/squashfs.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-07-04 13:26:27 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-07-04 13:42:06 +0200
commit2ed6658bbce90e89f0a4e3aba41704944f10b1f1 (patch)
treee8b60a37ab1e310a6c65c2e84b30cfc15eb8a1c5 /include/squashfs.h
parent6623b1fe4df1e2fceb27eff286a86cf36809b2bc (diff)
tar2sqfs: repack extended attributes into squashfs filesystem
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/squashfs.h')
-rw-r--r--include/squashfs.h4
1 files changed, 4 insertions, 0 deletions
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 <stdbool.h>
#include <stdint.h>
#include <stddef.h>
@@ -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 */