xref: /freebsd/contrib/xz/src/liblzma/common/block_buffer_encoder.h (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
1 // SPDX-License-Identifier: 0BSD
2 
3 ///////////////////////////////////////////////////////////////////////////////
4 //
5 /// \file       block_buffer_encoder.h
6 /// \brief      Single-call .xz Block encoder
7 //
8 //  Author:     Lasse Collin
9 //
10 ///////////////////////////////////////////////////////////////////////////////
11 
12 #ifndef LZMA_BLOCK_BUFFER_ENCODER_H
13 #define LZMA_BLOCK_BUFFER_ENCODER_H
14 
15 #include "common.h"
16 
17 
18 /// uint64_t version of lzma_block_buffer_bound(). It is used by
19 /// stream_encoder_mt.c. Probably the original lzma_block_buffer_bound()
20 /// should have been 64-bit, but fixing it would break the ABI.
21 extern uint64_t lzma_block_buffer_bound64(uint64_t uncompressed_size);
22 
23 #endif
24