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

#include <sqsh_mapper_private.h>

Public Member Functions

SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__map_iterator_skip (struct SqshMapIterator *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_map_iterator_data().
 

Detailed Description

Definition at line 265 of file sqsh_mapper_private.h.

Member Function Documentation

◆ sqsh__map_iterator_skip()

SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__map_iterator_skip ( struct SqshMapIterator * 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_map_iterator_data().

Parameters
[in,out]iteratorThe map 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: