Tests: Fix memory leaks in test_block_header.
[xz/debian.git] / src / liblzma / common / block_buffer_encoder.h
blob653207f73498ecc002a13f1dff538a72b2b08aac
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.
11 ///////////////////////////////////////////////////////////////////////////////
13 #ifndef LZMA_BLOCK_BUFFER_ENCODER_H
14 #define LZMA_BLOCK_BUFFER_ENCODER_H
16 #include "common.h"
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);
24 #endif