Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
lzma12.h
Go to the documentation of this file.
1
6/*
7 * Author: Lasse Collin
8 *
9 * This file has been put into the public domain.
10 * You can do whatever you want with this file.
11 *
12 * See ../lzma.h for information about liblzma as a whole.
13 */
14
15#ifndef LZMA_H_INTERNAL
16# error Never include this file directly. Use <lzma.h> instead.
17#endif
18
19
30#define LZMA_FILTER_LZMA1 LZMA_VLI_C(0x4000000000000001)
31
40#define LZMA_FILTER_LZMA2 LZMA_VLI_C(0x21)
41
42
58typedef enum {
59 LZMA_MF_HC3 = 0x03,
70 LZMA_MF_HC4 = 0x04,
81 LZMA_MF_BT2 = 0x12,
90 LZMA_MF_BT3 = 0x13,
101 LZMA_MF_BT4 = 0x14
112
113
128extern LZMA_API(lzma_bool) lzma_mf_is_supported(lzma_match_finder match_finder)
130
131
138typedef enum {
139 LZMA_MODE_FAST = 1,
156
157
170extern LZMA_API(lzma_bool) lzma_mode_is_supported(lzma_mode mode)
172
173
185typedef struct {
217 uint32_t dict_size;
218# define LZMA_DICT_SIZE_MIN UINT32_C(4096)
219# define LZMA_DICT_SIZE_DEFAULT (UINT32_C(1) << 23)
220
240 const uint8_t *preset_dict;
241
255
281 uint32_t lc;
282# define LZMA_LCLP_MIN 0
283# define LZMA_LCLP_MAX 4
284# define LZMA_LC_DEFAULT 3
285
293 uint32_t lp;
294# define LZMA_LP_DEFAULT 0
295
316 uint32_t pb;
317# define LZMA_PB_MIN 0
318# define LZMA_PB_MAX 4
319# define LZMA_PB_DEFAULT 2
320
323
342 uint32_t nice_len;
343
346
375 uint32_t depth;
376
377 /*
378 * Reserved space to allow possible future extensions without
379 * breaking the ABI. You should not touch these, because the names
380 * of these variables may change. These are and will never be used
381 * with the currently supported options, so it is safe to leave these
382 * uninitialized.
383 */
398
400
401
419extern LZMA_API(lzma_bool) lzma_lzma_preset(
Options specific to the LZMA1 and LZMA2 filters.
Definition lzma12.h:185
uint32_t reserved_int5
Definition lzma12.h:388
uint32_t reserved_int3
Definition lzma12.h:386
void * reserved_ptr1
Definition lzma12.h:396
void * reserved_ptr2
Definition lzma12.h:397
uint32_t reserved_int1
Definition lzma12.h:384
uint32_t lp
Number of literal position bits.
Definition lzma12.h:293
uint32_t reserved_int6
Definition lzma12.h:389
uint32_t lc
Number of literal context bits.
Definition lzma12.h:281
lzma_reserved_enum reserved_enum1
Definition lzma12.h:392
uint32_t reserved_int4
Definition lzma12.h:387
lzma_reserved_enum reserved_enum3
Definition lzma12.h:394
lzma_reserved_enum reserved_enum2
Definition lzma12.h:393
uint32_t reserved_int8
Definition lzma12.h:391
uint32_t preset_dict_size
Size of the preset dictionary.
Definition lzma12.h:254
uint32_t reserved_int7
Definition lzma12.h:390
const uint8_t * preset_dict
Pointer to an initial dictionary.
Definition lzma12.h:240
lzma_reserved_enum reserved_enum4
Definition lzma12.h:395
uint32_t reserved_int2
Definition lzma12.h:385
uint32_t nice_len
Nice length of a match.
Definition lzma12.h:342
uint32_t pb
Number of position bits.
Definition lzma12.h:316
uint32_t dict_size
Dictionary size in bytes.
Definition lzma12.h:217
lzma_mode mode
Definition lzma12.h:322
uint32_t depth
Maximum search depth in the match finder.
Definition lzma12.h:375
lzma_match_finder mf
Definition lzma12.h:345
lzma_reserved_enum
Type of reserved enumeration variable in structures.
Definition base.h:44
unsigned char lzma_bool
Boolean.
Definition base.h:29
uint32_t preset
Definition container.h:259
lzma_mode
Compression modes.
Definition lzma12.h:138
@ LZMA_MODE_FAST
Fast compression.
Definition lzma12.h:139
@ LZMA_MODE_NORMAL
Normal compression.
Definition lzma12.h:147
lzma_match_finder
Match finders.
Definition lzma12.h:58
@ LZMA_MF_HC4
Hash Chain with 2-, 3-, and 4-byte hashing.
Definition lzma12.h:70
@ LZMA_MF_BT4
Binary Tree with 2-, 3-, and 4-byte hashing.
Definition lzma12.h:101
@ LZMA_MF_HC3
Hash Chain with 2- and 3-byte hashing.
Definition lzma12.h:59
@ LZMA_MF_BT2
Binary Tree with 2-byte hashing.
Definition lzma12.h:81
@ LZMA_MF_BT3
Binary Tree with 2- and 3-byte hashing.
Definition lzma12.h:90
uint32_t preset lzma_nothrow
Definition lzma12.h:420
#define lzma_attr_const
Definition lzma.h:269
#define LZMA_API(type)
Definition lzma.h:207
const lzma_options_lzma * options
Definition container.h:545
lzma_mode
Compression modes.
Definition lzma12.h:163
lzma_match_finder
Match finders.
Definition lzma12.h:79