libsqsh v1.5.2
Loading...
Searching...
No Matches
SqshMetablockIterator Struct Reference

Iterator over metablocks. More...

#include <sqsh_metablock_private.h>

Public Member Functions

SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__metablock_iterator_skip (struct SqshMetablockIterator *iterator, uint64_t *offset)
 Skips blocks until the block containing the offset is reached. Note that calling this function will invalidate the data pointer returned by sqsh_metablock_iterator_data().
 

Detailed Description

Iterator over metablocks.

Definition at line 53 of file sqsh_metablock_private.h.

Member Function Documentation

◆ sqsh__metablock_iterator_skip()

SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__metablock_iterator_skip ( struct SqshMetablockIterator * iterator,
uint64_t * offset )

Skips blocks until the block containing the offset is reached. Note that calling this function will invalidate the data pointer returned by sqsh_metablock_iterator_data().

Parameters
[in,out]iteratorThe metablock iterator to skip data in.
[in]offsetThe offset that is contained in the block to skip to.
Returns
0 on success, less than 0 on error.

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