mirror of
				https://git.tukaani.org/xz.git
				synced 2025-10-30 21:12:55 +00:00 
			
		
		
		
	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.
		
			
				
	
	
		
			23 lines
		
	
	
		
			622 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			622 B
		
	
	
	
		
			C
		
	
	
	
	
	
| ///////////////////////////////////////////////////////////////////////////////
 | |
| //
 | |
| /// \file       simple_decoder.h
 | |
| /// \brief      Properties decoder for simple filters
 | |
| //
 | |
| //  Author:     Lasse Collin
 | |
| //
 | |
| //  This file has been put into the public domain.
 | |
| //  You can do whatever you want with this file.
 | |
| //
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| 
 | |
| #ifndef LZMA_SIMPLE_DECODER_H
 | |
| #define LZMA_SIMPLE_DECODER_H
 | |
| 
 | |
| #include "simple_coder.h"
 | |
| 
 | |
| extern lzma_ret lzma_simple_props_decode(
 | |
| 		void **options, const lzma_allocator *allocator,
 | |
| 		const uint8_t *props, size_t props_size);
 | |
| 
 | |
| #endif
 |