libsquashfs: sqfs_xattr_id_t Struct Reference

libsquashfs 1.3.2 A new set of tools and libraries for working with SquashFS images

Loading...
Searching...
No Matches
sqfs_xattr_id_t Struct Reference

On-disk data structure that describes a set of key-value pairs. More...

`#include <xattr.h>`

Collaboration diagram for sqfs_xattr_id_t:

## Data Fields
sqfs_u64 | xattr
| Location of the first key-value pair.
sqfs_u32 | count
| Number of consecutive key-value pairs.
sqfs_u32 | size
| Total size of the uncompressed key-value pairs in bytes, including data structures used to encode them.

## Detailed Description

On-disk data structure that describes a set of key-value pairs.

See sqfs_xattr_reader_t for an overview how SquashFS stores extended attributes on disk.

Definition at line 94 of file xattr.h.

## Field Documentation

## ◆ count

sqfs_u32 count

Number of consecutive key-value pairs.

Definition at line 109 of file xattr.h.

## ◆ size

sqfs_u32 size

Total size of the uncompressed key-value pairs in bytes, including data structures used to encode them.

Definition at line 115 of file xattr.h.

## ◆ xattr

sqfs_u64 xattr

Location of the first key-value pair.

This is a reference, i.e. the bits 16 to 48 hold an offset that is added to xattr_table_start from sqfs_xattr_id_table_t to get the location of a meta data block that contains the first key-value pair. The lower 16 bits store an offset into the uncompressed meta data block.

Definition at line 104 of file xattr.h.

The documentation for this struct was generated from the following file:

- include/sqfs/xattr.h