summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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 */