2024-02-12 15:09:10 +00:00
|
|
|
// SPDX-License-Identifier: 0BSD
|
|
|
|
|
2013-03-23 17:17:33 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
/// \file block_buffer_encoder.h
|
|
|
|
/// \brief Single-call .xz Block encoder
|
|
|
|
//
|
|
|
|
// Author: Lasse Collin
|
|
|
|
//
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef LZMA_BLOCK_BUFFER_ENCODER_H
|
|
|
|
#define LZMA_BLOCK_BUFFER_ENCODER_H
|
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
|
|
|
|
/// uint64_t version of lzma_block_buffer_bound(). It is used by
|
|
|
|
/// stream_encoder_mt.c. Probably the original lzma_block_buffer_bound()
|
|
|
|
/// should have been 64-bit, but fixing it would break the ABI.
|
|
|
|
extern uint64_t lzma_block_buffer_bound64(uint64_t uncompressed_size);
|
|
|
|
|
|
|
|
#endif
|