Fix version.sh compatiblity with Solaris
[xz/debian.git] / src / liblzma / common / block_buffer_encoder.h
blob5274ac40d3aae1deeece3ef773cf5abf0474adb6
1 // SPDX-License-Identifier: 0BSD
3 ///////////////////////////////////////////////////////////////////////////////
4 //
5 /// \file block_buffer_encoder.h
6 /// \brief Single-call .xz Block encoder
7 //
8 // Author: Lasse Collin
9 //
10 ///////////////////////////////////////////////////////////////////////////////
12 #ifndef LZMA_BLOCK_BUFFER_ENCODER_H
13 #define LZMA_BLOCK_BUFFER_ENCODER_H
15 #include "common.h"
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);
23 #endif