libsqsh v1.5.2
Loading...
Searching...
No Matches
sqsh_archive_private.h File Reference
#include "sqsh_archive.h"
#include "sqsh_error.h"
#include "sqsh_file_private.h"
#include "sqsh_utils_private.h"
#include "sqsh_xattr_private.h"
Include dependency graph for sqsh_archive_private.h:

Go to the source code of this file.

Data Structures

struct  SqshTrailingContext
 The trailing context is used to access the trailing data of the archive. More...
 
struct  SqshInodeMapImpl
 
struct  SqshInodeMap
 The inode map context is used to cache inodes numbers and their corresponding inode references. More...
 
struct  SqshSuperblock
 The superblock context is used to access the superblock of the archive. More...
 
struct  SqshCompressionOptions
 The compression options context is used to store the compression options for a specific compression algorithm. More...
 
struct  SqshArchive
 

Functions

SQSH_NO_UNUSED SQSH_NO_EXPORT int sqsh__trailing_init (struct SqshTrailingContext *context, struct SqshArchive *sqsh)
 
SQSH_NO_EXPORT int sqsh__trailing_cleanup (struct SqshTrailingContext *context)
 
SQSH_NO_UNUSED SQSH_NO_EXPORT int sqsh__inode_map_init (struct SqshInodeMap *map, struct SqshArchive *archive)
 
SQSH_NO_EXPORT int sqsh__inode_map_cleanup (struct SqshInodeMap *map)
 
SQSH_NO_UNUSED SQSH_NO_EXPORT int sqsh__superblock_init (struct SqshSuperblock *superblock, struct SqshMapManager *mapper)
 
SQSH_NO_EXPORT int sqsh__superblock_cleanup (struct SqshSuperblock *superblock)
 
SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__compression_options_init (struct SqshCompressionOptions *compression_options, struct SqshArchive *sqsh)
 
SQSH_NO_EXPORT int sqsh__compression_options_cleanup (struct SqshCompressionOptions *compression_options)
 
SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__archive_init (struct SqshArchive *sqsh, const void *source, const struct SqshConfig *config)
 
SQSH_NO_EXPORT int sqsh__archive_data_extract_manager (struct SqshArchive *archive, struct SqshExtractManager **data_extract_manager)
 
SQSH_NO_EXPORT struct SqshExtractManagersqsh__archive_metablock_extract_manager (struct SqshArchive *archive)
 
SQSH_NO_EXPORT const uint8_t * sqsh__archive_zero_block (const struct SqshArchive *archive)
 
SQSH_NO_EXPORT size_t sqsh__archive_zero_block_size (const struct SqshArchive *archive)
 
SQSH_NO_EXPORT int sqsh__archive_cleanup (struct SqshArchive *sqsh)
 

Detailed Description

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

Definition in file sqsh_archive_private.h.

Function Documentation

◆ sqsh__archive_cleanup()

SQSH_NO_EXPORT int sqsh__archive_cleanup ( struct SqshArchive * sqsh)

◆ sqsh__archive_data_extract_manager()

SQSH_NO_EXPORT int sqsh__archive_data_extract_manager ( struct SqshArchive * archive,
struct SqshExtractManager ** data_extract_manager )

◆ sqsh__archive_init()

SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__archive_init ( struct SqshArchive * sqsh,
const void * source,
const struct SqshConfig * config )

◆ sqsh__archive_metablock_extract_manager()

SQSH_NO_EXPORT struct SqshExtractManager * sqsh__archive_metablock_extract_manager ( struct SqshArchive * archive)

◆ sqsh__archive_zero_block()

SQSH_NO_EXPORT const uint8_t * sqsh__archive_zero_block ( const struct SqshArchive * archive)

◆ sqsh__archive_zero_block_size()

SQSH_NO_EXPORT size_t sqsh__archive_zero_block_size ( const struct SqshArchive * archive)

◆ sqsh__compression_options_cleanup()

SQSH_NO_EXPORT int sqsh__compression_options_cleanup ( struct SqshCompressionOptions * compression_options)

◆ sqsh__compression_options_init()

SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__compression_options_init ( struct SqshCompressionOptions * compression_options,
struct SqshArchive * sqsh )

◆ sqsh__inode_map_cleanup()

SQSH_NO_EXPORT int sqsh__inode_map_cleanup ( struct SqshInodeMap * map)

◆ sqsh__inode_map_init()

SQSH_NO_UNUSED SQSH_NO_EXPORT int sqsh__inode_map_init ( struct SqshInodeMap * map,
struct SqshArchive * archive )

◆ sqsh__superblock_cleanup()

SQSH_NO_EXPORT int sqsh__superblock_cleanup ( struct SqshSuperblock * superblock)

◆ sqsh__superblock_init()

SQSH_NO_UNUSED SQSH_NO_EXPORT int sqsh__superblock_init ( struct SqshSuperblock * superblock,
struct SqshMapManager * mapper )

◆ sqsh__trailing_cleanup()

SQSH_NO_EXPORT int sqsh__trailing_cleanup ( struct SqshTrailingContext * context)

◆ sqsh__trailing_init()

SQSH_NO_UNUSED SQSH_NO_EXPORT int sqsh__trailing_init ( struct SqshTrailingContext * context,
struct SqshArchive * sqsh )