Rizin
unix-like reverse engineering framework and cli tools
|
Preset handling for easy encoder and decoder. More...
#include "easy_preset.h"
Go to the source code of this file.
Functions | |
bool | lzma_easy_preset (lzma_options_easy *opt_easy, uint32_t preset) |
Preset handling for easy encoder and decoder.
Definition in file easy_preset.c.
bool lzma_easy_preset | ( | lzma_options_easy * | easy, |
uint32_t | preset | ||
) |
Set *easy to the settings given by the preset. Returns true on error, false on success.
Definition at line 17 of file easy_preset.c.
References lzma_options_easy::filters, lzma_filter::id, LZMA_FILTER_LZMA2, LZMA_VLI_UNKNOWN, lzma_options_easy::opt_lzma, lzma_filter::options, and preset.
Referenced by get_options(), and LZMA_API().