mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
3778db1be5
There is a tiny risk of causing breakage: If an application assigns lzma_stream.allocator to a non-const pointer, such code won't compile anymore. I don't know why anyone would do such a thing though, so in practice this shouldn't cause trouble. Thanks to Jan Kratochvil for the patch.
22 lines
599 B
C
22 lines
599 B
C
///////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
/// \file stream_decoder.h
|
|
/// \brief Decodes .xz Streams
|
|
//
|
|
// Author: Lasse Collin
|
|
//
|
|
// This file has been put into the public domain.
|
|
// You can do whatever you want with this file.
|
|
//
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef LZMA_STREAM_DECODER_H
|
|
#define LZMA_STREAM_DECODER_H
|
|
|
|
#include "common.h"
|
|
|
|
extern lzma_ret lzma_stream_decoder_init(
|
|
lzma_next_coder *next, const lzma_allocator *allocator,
|
|
uint64_t memlimit, uint32_t flags);
|
|
|
|
#endif
|