libsqsh v1.5.1
Loading...
Searching...
No Matches
SqshXattrTable Struct Reference

The extended attribute lookup table. More...

#include <sqsh_table_private.h>

Public Member Functions

SQSH_NO_EXPORT uint64_t sqsh__xattr_table_start (struct SqshXattrTable *table)
 Retrieves the starting offset of the table.
 
SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__xattr_table_get (const struct SqshXattrTable *table, sqsh_index_t index, struct SqshDataXattrLookupTable *target)
 Retrieves an extended attribute from the table.
 

Detailed Description

The extended attribute lookup table.

Definition at line 235 of file sqsh_table_private.h.

Member Function Documentation

◆ sqsh__xattr_table_get()

SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__xattr_table_get ( const struct SqshXattrTable * table,
sqsh_index_t index,
struct SqshDataXattrLookupTable * target )

Retrieves an extended attribute from the table.

Parameters
[in]tableThe extended attribute table to retrieve the attribute from.
[in]indexThe index of the attribute to retrieve.
[out]targetThe extended attribute lookup table to store the attribute in.
Returns
0 on success, a negative value on error.

◆ sqsh__xattr_table_start()

SQSH_NO_EXPORT uint64_t sqsh__xattr_table_start ( struct SqshXattrTable * table)

Retrieves the starting offset of the table.

Parameters
[in]tableThe extended attribute table to retrieve the offset from.
Returns
The starting offset of the table.

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