Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
lzma_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_LZMA_ENCODER_H
15#define LZMA_LZMA_ENCODER_H
16
17#include "common.h"
18
19
21
22
26
27
28extern uint64_t lzma_lzma_encoder_memusage(const void *options);
29
30extern lzma_ret lzma_lzma_props_encode(const void *options, uint8_t *out);
31
32
34extern bool lzma_lzma_lclppb_encode(
35 const lzma_options_lzma *options, uint8_t *byte);
36
37
38#ifdef LZMA_LZ_ENCODER_H
39
42 void **coder_ptr, const lzma_allocator *allocator,
44 lzma_lz_options *lz_options);
45
46
50
51
52extern lzma_ret lzma_lzma_encode(lzma_lzma1_encoder *restrict coder,
53 lzma_mf *restrict mf, uint8_t *restrict out,
54 size_t *restrict out_pos, size_t out_size,
55 uint32_t read_limit);
56
57#endif
58
59#endif
Custom functions for memory handling.
Definition base.h:372
Definition common.h:177
Definition lz_decoder.h:47
Definition lzma_encoder_private.h:71
Definition lz_encoder.h:29
Hold data and function pointers of the next filter in the chain.
Definition common.h:195
Options specific to the LZMA1 and LZMA2 filters.
Definition lzma12.h:185
lzma_ret
Return values used by several functions in liblzma.
Definition base.h:57
const lzma_allocator const uint8_t size_t uint8_t size_t * out_pos
Definition block.h:528
const lzma_allocator * allocator
Definition block.h:377
const lzma_filter * filters
Definition container.h:315
uint64_t lzma_vli
Variable-length integer type.
Definition vli.h:63
const lzma_options_lzma * options
Definition container.h:545
lzma_ret lzma_lzma_encode(lzma_lzma1_encoder *restrict coder, lzma_mf *restrict mf, uint8_t *restrict out, size_t *restrict out_pos, size_t out_size, uint32_t limit)
Definition lzma_encoder.c:314
lzma_ret lzma_lzma_encoder_reset(lzma_lzma1_encoder *coder, const lzma_options_lzma *options)
Definition lzma_encoder.c:530
lzma_ret lzma_lzma_encoder_create(void **coder_ptr, const lzma_allocator *allocator, lzma_vli id, const lzma_options_lzma *options, lzma_lz_options *lz_options)
Definition lzma_encoder.c:603
lzma_ret lzma_lzma_encoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters)
Definition lzma_encoder.c:723
bool lzma_lzma_lclppb_encode(const lzma_options_lzma *options, uint8_t *byte)
Encodes lc/lp/pb into one byte. Returns false on success and true on error.
Definition lzma_encoder.c:749
lzma_ret lzma_lzma_props_encode(const void *options, uint8_t *out)
uint64_t lzma_lzma_encoder_memusage(const void *options)
Definition lzma_encoder.c:732