1 // SPDX-License-Identifier: 0BSD
3 ///////////////////////////////////////////////////////////////////////////////
5 /// \file delta_private.h
6 /// \brief Private common stuff for Delta encoder and decoder
8 // Author: Lasse Collin
10 ///////////////////////////////////////////////////////////////////////////////
12 #ifndef LZMA_DELTA_PRIVATE_H
13 #define LZMA_DELTA_PRIVATE_H
15 #include "delta_common.h"
18 /// Next coder in the chain
24 /// Position in history[]
27 /// Buffer to hold history of the original data
28 uint8_t history
[LZMA_DELTA_DIST_MAX
];
32 extern lzma_ret
lzma_delta_coder_init(
33 lzma_next_coder
*next
, const lzma_allocator
*allocator
,
34 const lzma_filter_info
*filters
);