![]() |
Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
|
Compresses or uncompresses a file. More...
#include "private.h"
Enumerations | |
enum | coder_init_ret { CODER_INIT_NORMAL , CODER_INIT_PASSTHRU , CODER_INIT_ERROR } |
Return value type for coder_init(). More... | |
Functions | |
void | coder_set_check (lzma_check new_check) |
Set the integrity check type used when compressing. | |
void | coder_set_preset (uint32_t new_preset) |
Set preset number. | |
void | coder_set_extreme (void) |
Enable extreme mode. | |
void | coder_add_filter (lzma_vli id, void *options) |
Add a filter to the custom filter chain. | |
void | coder_set_compression_settings (void) |
void | coder_run (const char *filename) |
Compress or decompress the given file. | |
void | coder_free (void) |
Free the memory allocated for the coder and kill the worker threads. | |
Variables | |
enum operation_mode | opt_mode = MODE_COMPRESS |
enum format_type | opt_format = FORMAT_AUTO |
bool | opt_auto_adjust = true |
bool | opt_single_stream = false |
If true, stop after decoding the first stream. | |
uint64_t | opt_block_size = 0 |
uint64_t * | opt_block_list = NULL |
List of block size and filter chain pointer pairs. | |
Compresses or uncompresses a file.
enum coder_init_ret |
|
extern |
Add a filter to the custom filter chain.
|
extern |
Free the memory allocated for the coder and kill the worker threads.
|
extern |
Compress or decompress the given file.
|
extern |
Set the integrity check type used when compressing.
|
extern |
Set and partially validate compression settings. This can also be used in decompression or test mode with the raw format.
|
extern |
Enable extreme mode.
|
extern |
Set preset number.
If true, the compression settings are automatically adjusted down if they exceed the memory usage limit.
uint64_t* opt_block_list = NULL |
List of block size and filter chain pointer pairs.
This is non-NULL if –block-list was used. This contains the Block sizes as an array that is terminated with 0.
uint64_t opt_block_size = 0 |
If non-zero, start a new .xz Block after every opt_block_size bytes of input. This has an effect only when compressing to the .xz format.
enum format_type opt_format = FORMAT_AUTO |
File format to use when encoding or what format(s) to accept when decoding. This is a global because it's needed also in suffix.c. This is set in args.c.
enum operation_mode opt_mode = MODE_COMPRESS |
Operation mode of the command line tool. This is set in args.c and read in several files.