libsqsh v1.5.1
Loading...
Searching...
No Matches
sqsh_metablock_private.h File Reference
Include dependency graph for sqsh_metablock_private.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  SqshMetablockIterator
 Iterator over metablocks. More...
 
struct  SqshMetablockReader
 Reader over metablocks. More...
 

Functions

SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__metablock_iterator_init (struct SqshMetablockIterator *iterator, struct SqshArchive *sqsh, uint64_t start_address, uint64_t upper_limit)
 
SQSH_NO_EXPORT bool sqsh__metablock_iterator_next (struct SqshMetablockIterator *iterator, int *err)
 
SQSH_NO_EXPORT const uint8_t * sqsh__metablock_iterator_data (const struct SqshMetablockIterator *iterator)
 
SQSH_NO_EXPORT size_t sqsh__metablock_iterator_size (const struct SqshMetablockIterator *iterator)
 
SQSH_NO_EXPORT int sqsh__metablock_iterator_cleanup (struct SqshMetablockIterator *iterator)
 
SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__metablock_reader_init (struct SqshMetablockReader *reader, struct SqshArchive *sqsh, const uint64_t start_address, const uint64_t upper_limit)
 
SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__metablock_reader_advance (struct SqshMetablockReader *reader, uint64_t offset, size_t size)
 
SQSH_NO_EXPORT const uint8_t * sqsh__metablock_reader_data (const struct SqshMetablockReader *reader)
 
SQSH_NO_EXPORT size_t sqsh__metablock_reader_size (const struct SqshMetablockReader *reader)
 
SQSH_NO_EXPORT int sqsh__metablock_reader_cleanup (struct SqshMetablockReader *reader)
 

Detailed Description

Author
Enno Boland (mail@.nosp@m.ebol.nosp@m.and.d.nosp@m.e)

Definition in file sqsh_metablock_private.h.

Function Documentation

◆ sqsh__metablock_iterator_cleanup()

SQSH_NO_EXPORT int sqsh__metablock_iterator_cleanup ( struct SqshMetablockIterator * iterator)

◆ sqsh__metablock_iterator_data()

SQSH_NO_EXPORT const uint8_t * sqsh__metablock_iterator_data ( const struct SqshMetablockIterator * iterator)

◆ sqsh__metablock_iterator_init()

SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__metablock_iterator_init ( struct SqshMetablockIterator * iterator,
struct SqshArchive * sqsh,
uint64_t start_address,
uint64_t upper_limit )

◆ sqsh__metablock_iterator_next()

SQSH_NO_EXPORT bool sqsh__metablock_iterator_next ( struct SqshMetablockIterator * iterator,
int * err )

◆ sqsh__metablock_iterator_size()

SQSH_NO_EXPORT size_t sqsh__metablock_iterator_size ( const struct SqshMetablockIterator * iterator)

◆ sqsh__metablock_reader_advance()

SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__metablock_reader_advance ( struct SqshMetablockReader * reader,
uint64_t offset,
size_t size )

◆ sqsh__metablock_reader_cleanup()

SQSH_NO_EXPORT int sqsh__metablock_reader_cleanup ( struct SqshMetablockReader * reader)

◆ sqsh__metablock_reader_data()

SQSH_NO_EXPORT const uint8_t * sqsh__metablock_reader_data ( const struct SqshMetablockReader * reader)

◆ sqsh__metablock_reader_init()

SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__metablock_reader_init ( struct SqshMetablockReader * reader,
struct SqshArchive * sqsh,
const uint64_t start_address,
const uint64_t upper_limit )

◆ sqsh__metablock_reader_size()

SQSH_NO_EXPORT size_t sqsh__metablock_reader_size ( const struct SqshMetablockReader * reader)