38 SQFS_XATTR_TRUSTED = 1,
39 SQFS_XATTR_SECURITY = 2,
41 SQFS_XATTR_FLAG_OOL = 0x100,
42 SQFS_XATTR_PREFIX_MASK = 0xFF,
Includes forward declarations of data structures, macros and integer types.
On-disk data structure that holds a single xattr key.
sqfs_u16 size
The size in bytes of the suffix string that follows.
sqfs_u16 type
Encodes the prefix of the key.
On-disk data structure that describes a set of key-value pairs.
sqfs_u32 size
Total size of the uncompressed key-value pairs in bytes, including data structures used to encode the...
sqfs_u64 xattr
Location of the first key-value pair.
sqfs_u32 count
Number of consecutive key-value pairs.
On-disk data structure that the super block points to.
sqfs_u64 locations[]
Holds the locations of the meta data blocks that contain the sqfs_xattr_id_t descriptor array.
sqfs_u64 xattr_table_start
The location of the first meta data block holding the key value pairs.
sqfs_u32 xattr_ids
The total number of descriptors (sqfs_xattr_id_t)
sqfs_u32 unused
Unused, alwayas set this to 0 when writing!
On-disk data structure that holds a single xattr value.
sqfs_u32 size
The exact size in bytes of the value that follows.
SQFS_API const char * sqfs_get_xattr_prefix(SQFS_XATTR_TYPE id)
Resolve an xattr identifier to the coresponding prefix.
SQFS_API int sqfs_get_xattr_prefix_id(const char *key)
Resolve an xattr prefix into an identifier.