Compresses or uncompresses a file. More...
Enumerations | |
enum | operation_mode { MODE_COMPRESS, MODE_DECOMPRESS, MODE_TEST, MODE_LIST } |
enum | format_type { FORMAT_AUTO, FORMAT_XZ, FORMAT_LZMA, FORMAT_RAW } |
Functions | |
void | coder_set_check (lzma_check check) |
Set the integrity check type used when compressing. | |
void | coder_set_preset (size_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 | process_init (void) |
void | process_file (const char *filename) |
Variables | |
enum operation_mode | opt_mode |
enum format_type | opt_format |
Compresses or uncompresses a file.
void coder_set_check | ( | lzma_check | check | ) |
Set the integrity check type used when compressing.
References check.
void coder_set_preset | ( | size_t | new_preset | ) |
Set preset number.
References preset_default, and preset_number.
void coder_set_extreme | ( | void | ) |
Enable extreme mode.
References preset_extreme.
void coder_add_filter | ( | lzma_vli | id, | |
void * | options | |||
) |
Add a filter to the custom filter chain.
References filters_count, lzma_filter::id, LZMA_FILTERS_MAX, message_fatal(), and lzma_filter::options.
enum operation_mode opt_mode |
Operation mode of the command line tool. This is set in args.c and read in several files.
Referenced by message_progress_end(), and suffix_get_dest_name().
enum format_type opt_format |
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.
Referenced by compressed_name(), and uncompressed_name().