153200025SRui Paulo /////////////////////////////////////////////////////////////////////////////// 253200025SRui Paulo // 353200025SRui Paulo /// \file block_buffer_encoder.h 453200025SRui Paulo /// \brief Single-call .xz Block encoder 553200025SRui Paulo // 653200025SRui Paulo // Author: Lasse Collin 753200025SRui Paulo // 8*a9288701SXin LI // This file has been put into the public domain. 9*a9288701SXin LI // You can do whatever you want with this file. 10*a9288701SXin LI // 1153200025SRui Paulo /////////////////////////////////////////////////////////////////////////////// 1253200025SRui Paulo 1353200025SRui Paulo #ifndef LZMA_BLOCK_BUFFER_ENCODER_H 1453200025SRui Paulo #define LZMA_BLOCK_BUFFER_ENCODER_H 1553200025SRui Paulo 1653200025SRui Paulo #include "common.h" 1753200025SRui Paulo 1853200025SRui Paulo 1953200025SRui Paulo /// uint64_t version of lzma_block_buffer_bound(). It is used by 2053200025SRui Paulo /// stream_encoder_mt.c. Probably the original lzma_block_buffer_bound() 2153200025SRui Paulo /// should have been 64-bit, but fixing it would break the ABI. 2253200025SRui Paulo extern uint64_t lzma_block_buffer_bound64(uint64_t uncompressed_size); 2353200025SRui Paulo 2453200025SRui Paulo #endif 25