xref: /freebsd/contrib/xz/src/liblzma/common/block_buffer_encoder.h (revision 5515e8874a8d85a8d961fca64c494dfc1bea4bd0)
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