A generic table as used in an archive.
More...
#include <sqsh_table_private.h>
A generic table as used in an archive.
Definition at line 56 of file sqsh_table_private.h.
◆ sqsh_export_table_resolve_inode()
int sqsh_export_table_resolve_inode |
( |
const struct SqshExportTable * | table, |
|
|
uint64_t | inode, |
|
|
uint64_t * | inode_ref ) |
Retrieves an element from the table.
- Deprecated
- Since 1.5.0. Use sqsh_export_table_resolve_inode2 instead.
- Parameters
-
[in] | table | The table to retrieve the element from. |
[in] | inode | The index of the element to retrieve. |
[out] | inode_ref | A pointer to a uint64_t to store the inode reference |
- Returns
- 0 on success, a negative value on error.
◆ sqsh_export_table_resolve_inode2()
int sqsh_export_table_resolve_inode2 |
( |
const struct SqshExportTable * | table, |
|
|
uint32_t | inode, |
|
|
uint64_t * | inode_ref ) |
Retrieves an element from the table.
- Parameters
-
[in] | table | The table to retrieve the element from. |
[in] | inode | The index of the element to retrieve. |
[out] | inode_ref | A pointer to a uint64_t to store the inode reference |
- Returns
- 0 on success, a negative value on error.
◆ sqsh_id_table_get()
Retrieves an element from the table.
- Parameters
-
[in] | table | The table to retrieve the element from. |
[in] | index | The index of the element to retrieve. |
[out] | id | The buffer to store the element in. |
- Returns
- 0 on success, a negative value on error.
◆ sqsh_table_get()
Retrieves an element from the table.
- Parameters
-
[in] | table | The table to retrieve the element from. |
[in] | index | The index of the element to retrieve. |
[out] | target | The buffer to store the element in. |
- Returns
- 0 on success, a negative value on error.
The documentation for this struct was generated from the following files: