summaryrefslogtreecommitdiff
path: root/include/sqfs/xattr.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-09 14:23:59 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-09 14:23:59 +0200
commit51ffaaee97e6eeaa2117d4349fbbc97bf5721224 (patch)
tree498102b18f1cbc083cf53e0fc2ec539d347d8193 /include/sqfs/xattr.h
parenta35bf2eb54cceb5cb8e3f8302cf19e15ca60a170 (diff)
Add xattr data structure declarations to predef header
Apparantly they were overlooked the last time. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/sqfs/xattr.h')
-rw-r--r--include/sqfs/xattr.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/sqfs/xattr.h b/include/sqfs/xattr.h
index d1f242b..2a25cb5 100644
--- a/include/sqfs/xattr.h
+++ b/include/sqfs/xattr.h
@@ -31,28 +31,28 @@ typedef enum {
SQFS_XATTR_PREFIX_MASK = 0xFF,
} E_SQFS_XATTR_TYPE;
-typedef struct {
+struct sqfs_xattr_entry_t {
uint16_t type;
uint16_t size;
uint8_t key[];
-} sqfs_xattr_entry_t;
+};
-typedef struct {
+struct sqfs_xattr_value_t {
uint32_t size;
uint8_t value[];
-} sqfs_xattr_value_t;
+};
-typedef struct {
+struct sqfs_xattr_id_t {
uint64_t xattr;
uint32_t count;
uint32_t size;
-} sqfs_xattr_id_t;
+};
-typedef struct {
+struct sqfs_xattr_id_table_t {
uint64_t xattr_table_start;
uint32_t xattr_ids;
uint32_t unused;
-} sqfs_xattr_id_table_t;
+};
#ifdef __cplusplus
extern "C" {