Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
lzma2_encoder.h
Go to the documentation of this file.
1
2//
6// Authors: Igor Pavlov
7// Lasse Collin
8//
9// This file has been put into the public domain.
10// You can do whatever you want with this file.
11//
13
14#ifndef LZMA_LZMA2_ENCODER_H
15#define LZMA_LZMA2_ENCODER_H
16
17#include "common.h"
18
19
21#define LZMA2_CHUNK_MAX (UINT32_C(1) << 16)
22
24#define LZMA2_UNCOMPRESSED_MAX (UINT32_C(1) << 21)
25
27#define LZMA2_HEADER_MAX 6
28
30#define LZMA2_HEADER_UNCOMPRESSED 3
31
32
36
37extern uint64_t lzma_lzma2_encoder_memusage(const void *options);
38
39extern lzma_ret lzma_lzma2_props_encode(const void *options, uint8_t *out);
40
41extern uint64_t lzma_lzma2_block_size(const void *options);
42
43#endif
Custom functions for memory handling.
Definition base.h:372
Definition common.h:177
Hold data and function pointers of the next filter in the chain.
Definition common.h:195
lzma_ret
Return values used by several functions in liblzma.
Definition base.h:57
const lzma_allocator * allocator
Definition block.h:377
const lzma_filter * filters
Definition container.h:315
const lzma_options_lzma * options
Definition container.h:545
lzma_ret lzma_lzma2_encoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters)
Definition lzma2_encoder.c:360
uint64_t lzma_lzma2_block_size(const void *options)
Definition lzma2_encoder.c:408
lzma_ret lzma_lzma2_props_encode(const void *options, uint8_t *out)
Definition lzma2_encoder.c:380
uint64_t lzma_lzma2_encoder_memusage(const void *options)
Definition lzma2_encoder.c:369