15 #ifndef LZMA_H_INTERNAL
16 # error Never include this file directly. Use <lzma.h> instead.
30 #define LZMA_FILTER_LZMA1 LZMA_VLI_C(0x4000000000000001)
40 #define LZMA_FILTER_LZMA2 LZMA_VLI_C(0x21)
218 # define LZMA_DICT_SIZE_MIN UINT32_C(4096)
219 # define LZMA_DICT_SIZE_DEFAULT (UINT32_C(1) << 23)
282 # define LZMA_LCLP_MIN 0
283 # define LZMA_LCLP_MAX 4
284 # define LZMA_LC_DEFAULT 3
294 # define LZMA_LP_DEFAULT 0
317 # define LZMA_PB_MIN 0
318 # define LZMA_PB_MAX 4
319 # define LZMA_PB_DEFAULT 2
static const char struct stat static buf struct stat static buf static vhangup int options
lzma_mode
Compression modes.
@ LZMA_MODE_FAST
Fast compression.
@ LZMA_MODE_NORMAL
Normal compression.
LZMA_API(lzma_bool) lzma_mf_is_supported(lzma_match_finder match_finder) lzma_nothrow lzma_attr_const
Test if given match finder is supported.
lzma_match_finder
Match finders.
@ LZMA_MF_HC4
Hash Chain with 2-, 3-, and 4-byte hashing.
@ LZMA_MF_BT4
Binary Tree with 2-, 3-, and 4-byte hashing.
@ LZMA_MF_HC3
Hash Chain with 2- and 3-byte hashing.
@ LZMA_MF_BT2
Binary Tree with 2-byte hashing.
@ LZMA_MF_BT3
Binary Tree with 2- and 3-byte hashing.
uint32_t preset lzma_nothrow
Options specific to the LZMA1 and LZMA2 filters.
uint32_t nice_len
Nice length of a match.
uint32_t lp
Number of literal position bits.
const uint8_t * preset_dict
Pointer to an initial dictionary.
lzma_reserved_enum reserved_enum1
uint32_t depth
Maximum search depth in the match finder.
lzma_reserved_enum reserved_enum2
uint32_t preset_dict_size
Size of the preset dictionary.
lzma_reserved_enum reserved_enum4
uint32_t lc
Number of literal context bits.
uint32_t pb
Number of position bits.
lzma_reserved_enum reserved_enum3
uint32_t dict_size
Dictionary size in bytes.
lzma_reserved_enum
Type of reserved enumeration variable in structures.
unsigned char lzma_bool
Boolean.