34#ifndef SQSH_TABLE_PRIVATE_H
35#define SQSH_TABLE_PRIVATE_H
46struct SqshDataFragment;
47struct SqshDataXattrLookupTable;
83 size_t element_size,
size_t element_count);
214 struct SqshDataFragment *fragment);
267 struct SqshDataXattrLookupTable *target);
#define SQSH_NO_EXPORT
Do not export symbol.
#define SQSH_NO_UNUSED
Warn if return value is unused.
size_t sqsh_index_t
typedef used for indexing
SQSH_NO_EXPORT int sqsh__export_table_init(struct SqshExportTable *table, struct SqshArchive *sqsh)
SQSH_NO_EXPORT int sqsh__table_cleanup(struct SqshTable *table)
SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__table_init(struct SqshTable *table, struct SqshArchive *sqsh, uint64_t start_block, size_t element_size, size_t element_count)
SQSH_NO_EXPORT int sqsh__id_table_cleanup(struct SqshIdTable *table)
SQSH_NO_EXPORT int sqsh__export_table_cleanup(struct SqshExportTable *table)
SQSH_NO_EXPORT int sqsh__fragment_table_get(const struct SqshFragmentTable *table, const struct SqshFile *inode, struct SqshDataFragment *fragment)
SQSH_NO_EXPORT int sqsh__id_table_init(struct SqshIdTable *table, struct SqshArchive *sqsh)
SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__fragment_table_init(struct SqshFragmentTable *table, struct SqshArchive *sqsh)
SQSH_NO_EXPORT int sqsh__fragment_table_cleanup(struct SqshFragmentTable *table)
The fragment table of an archive.
The id table of an archive.
A reader over a mapping of data.
The mapper that is used to map chunks of the archive into memory.
A generic table as used in an archive.
The extended attribute lookup 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.
SQSH_NO_EXPORT uint64_t sqsh__xattr_table_start(struct SqshXattrTable *table)
Retrieves the starting offset of the table.