libsquashfs 1.3.2
A new set of tools and libraries for working with SquashFS images
Loading...
Searching...
No Matches
sqfs_compressor_config_t Struct Reference

Configuration parameters for instantiating a compressor backend. More...

#include <compressor.h>

Collaboration diagram for sqfs_compressor_config_t:

Data Structures

union  [union].opt
 Backend specific options for fine tuing. More...

Data Fields

sqfs_u16 id
 An SQFS_COMPRESSOR identifier.
sqfs_u16 flags
 A combination of SQFS_COMP_FLAG flags.
sqfs_u32 block_size
 The intended data block size.
sqfs_u32 level
 Compression level.
union  opt

Detailed Description

Configuration parameters for instantiating a compressor backend.

The unused fields MUST be set to 0. The easiest way to do this is by always clearing the struct using memset before setting anything, or using sqfs_compressor_config_init to set defaults and then modify the struct from there.

Examples
list_files.c.

Definition at line 106 of file compressor.h.

Field Documentation

◆ block_size

sqfs_u32 block_size

The intended data block size.

Definition at line 120 of file compressor.h.

◆ flags

sqfs_u16 flags

A combination of SQFS_COMP_FLAG flags.

Definition at line 115 of file compressor.h.

◆ id

sqfs_u16 id

An SQFS_COMPRESSOR identifier.

Definition at line 110 of file compressor.h.

◆ level

sqfs_u32 level

Compression level.

Valid range and default value depend on the selected compressor.

Definition at line 127 of file compressor.h.


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