block_buffer_encoder.h 763 B

123456789101112131415161718192021222324
  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. #ifndef LZMA_BLOCK_BUFFER_ENCODER_H
  13. #define LZMA_BLOCK_BUFFER_ENCODER_H
  14. #include "common.h"
  15. /// uint64_t version of lzma_block_buffer_bound(). It is used by
  16. /// stream_encoder_mt.c. Probably the original lzma_block_buffer_bound()
  17. /// should have been 64-bit, but fixing it would break the ABI.
  18. extern uint64_t lzma_block_buffer_bound64(uint64_t uncompressed_size);
  19. #endif