20 #ifndef SQFS_ID_TABLE_H 21 #define SQFS_ID_TABLE_H 120 sqfs_u16 index, sqfs_u32 *out);
SQFS_API sqfs_id_table_t * sqfs_id_table_create(sqfs_u32 flags)
Create an ID table object.
Encapsultes a compressor with a simple interface to compress or extract chunks of data...
SQFS_API int sqfs_id_table_read(sqfs_id_table_t *tbl, sqfs_file_t *file, const sqfs_super_t *super, sqfs_compressor_t *cmp)
Read an ID table from disk.
The SquashFS super block, located at the beginning of the file system to describe the layout of the f...
Abstracts file I/O to make it easy to embedd SquashFS.
SQFS_API int sqfs_id_table_id_to_index(sqfs_id_table_t *tbl, sqfs_u32 id, sqfs_u16 *out)
Resolve a 32 bit ID to a unique 16 bit index.
A simple data structure that encapsulates ID to index mapping for user and group IDs.
SQFS_API int sqfs_id_table_write(sqfs_id_table_t *tbl, sqfs_file_t *file, sqfs_super_t *super, sqfs_compressor_t *cmp)
Write an ID table to disk.
Includes forward declarations of data structures, macros and integer types.
SQFS_API int sqfs_id_table_index_to_id(const sqfs_id_table_t *tbl, sqfs_u16 index, sqfs_u32 *out)
Resolve a 16 bit index to a 32 bit ID.