aboutsummaryrefslogtreecommitdiff
path: root/include/io/xattr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/io/xattr.h')
-rw-r--r--include/io/xattr.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/io/xattr.h b/include/io/xattr.h
new file mode 100644
index 0000000..d912fad
--- /dev/null
+++ b/include/io/xattr.h
@@ -0,0 +1,18 @@
+/* SPDX-License-Identifier: LGPL-3.0-or-later */
+/*
+ * xattr.h
+ *
+ * Copyright (C) 2023 David Oberhollenzer <goliath@infraroot.at>
+ */
+#ifndef IO_XATTR_H
+#define IO_XATTR_H
+
+typedef struct dir_entry_xattr_t {
+ struct dir_entry_xattr_t *next;
+ char *key;
+ sqfs_u8 *value;
+ size_t value_len;
+ char data[];
+} dir_entry_xattr_t;
+
+#endif /* IO_XATTR_H */