Rizin
unix-like reverse engineering framework and cli tools
block_encoder.h
Go to the documentation of this file.
1 //
5 //
6 // Author: Lasse Collin
7 //
8 // This file has been put into the public domain.
9 // You can do whatever you want with this file.
10 //
12 
13 #ifndef LZMA_BLOCK_ENCODER_H
14 #define LZMA_BLOCK_ENCODER_H
15 
16 #include "common.h"
17 
18 
40 #define COMPRESSED_SIZE_MAX ((LZMA_VLI_MAX - LZMA_BLOCK_HEADER_SIZE_MAX \
41  - LZMA_CHECK_SIZE_MAX) & ~LZMA_VLI_C(3))
42 
43 
45  const lzma_allocator *allocator, lzma_block *block);
46 
47 #endif
const lzma_allocator * allocator
Definition: block.h:377
lzma_ret lzma_block_encoder_init(lzma_next_coder *next, const lzma_allocator *allocator, lzma_block *block)
Custom functions for memory handling.
Definition: base.h:372
Options for the Block and Block Header encoders and decoders.
Definition: block.h:30
Hold data and function pointers of the next filter in the chain.
Definition: common.h:135
Definitions common to the whole liblzma library.
lzma_ret
Return values used by several functions in liblzma.
Definition: base.h:57