The compression options context is used to store the compression options for a specific compression algorithm.
More...
#include <sqsh_archive_private.h>
The compression options context is used to store the compression options for a specific compression algorithm.
Definition at line 189 of file sqsh_archive_private.h.
◆ sqsh_compression_options_free()
Frees a SqshCompressionOptions struct.
- Parameters
-
[in] | context | The file context to free. |
- Returns
- 0 on success, less than 0 on error
◆ sqsh_compression_options_gzip_compression_level()
returns the compression level of gzip
- Parameters
-
[in] | context | the compression options context |
- Returns
- the compression level of gzip
◆ sqsh_compression_options_gzip_strategies()
returns the compression strategy of gzip
- Parameters
-
[in] | context | the compression options context |
- Returns
- the compression strategy of gzip
◆ sqsh_compression_options_gzip_window_size()
returns the compression window size of gzip
- Parameters
-
[in] | context | the compression options context |
- Returns
- the compression window size of gzip
◆ sqsh_compression_options_lz4_flags()
returns the flags of lz4
- Parameters
-
[in] | context | the compression options context |
- Returns
- the flags of lz4
◆ sqsh_compression_options_lz4_version()
returns the version of lz4 used
- Parameters
-
[in] | context | the compression options context |
- Returns
- the version of lz4 used
◆ sqsh_compression_options_lzo_algorithm()
returns the algorithm of lzo
- Parameters
-
[in] | context | the compression options context |
- Returns
- the algorithm of lzo
◆ sqsh_compression_options_lzo_compression_level()
returns the compression level of lzo
- Parameters
-
[in] | context | the compression options context |
- Returns
- the compression level of lzo
◆ sqsh_compression_options_new()
Initializes a SqshCompressionOptions struct.
- Parameters
-
[in] | sqsh | Sqsh context |
[out] | err | Pointer to an int where the error code will be stored. |
- Returns
- The Initialized file context
◆ sqsh_compression_options_size()
returns the size of the compression options struct
- Parameters
-
[in] | context | the compression options context |
- Returns
- the size of the compression options struct
◆ sqsh_compression_options_xz_dictionary_size()
returns the dictionary size of xz
- Parameters
-
[in] | context | the compression options context |
- Returns
- the dictionary size of xz
◆ sqsh_compression_options_xz_filters()
returns the compression options of xz
- Parameters
-
[in] | context | the compression options context |
- Returns
- the compression options of xz
◆ sqsh_compression_options_zstd_compression_level()
returns the compression level of zstd
- Parameters
-
[in] | context | the compression options context |
- Returns
- the compression level of zstd
The documentation for this struct was generated from the following files: