]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - contrib/xz/src/liblzma/common/block_buffer_encoder.h
MFC: xz 5.2.2.
[FreeBSD/stable/10.git] / contrib / xz / src / liblzma / common / block_buffer_encoder.h
1 ///////////////////////////////////////////////////////////////////////////////
2 //
3 /// \file       block_buffer_encoder.h
4 /// \brief      Single-call .xz Block encoder
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 //
11 ///////////////////////////////////////////////////////////////////////////////
12
13 #ifndef LZMA_BLOCK_BUFFER_ENCODER_H
14 #define LZMA_BLOCK_BUFFER_ENCODER_H
15
16 #include "common.h"
17
18
19 /// uint64_t version of lzma_block_buffer_bound(). It is used by
20 /// stream_encoder_mt.c. Probably the original lzma_block_buffer_bound()
21 /// should have been 64-bit, but fixing it would break the ABI.
22 extern uint64_t lzma_block_buffer_bound64(uint64_t uncompressed_size);
23
24 #endif