33 lines
		
	
	
		
			871 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			871 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * Usefuls routines based on the LzmaTest.c file from LZMA SDK 4.65
 | 
						|
 *
 | 
						|
 * Copyright (C) 2007-2008 Industrie Dial Face S.p.A.
 | 
						|
 * Luigi 'Comio' Mantellini (luigi.mantellini@idf-hit.com)
 | 
						|
 *
 | 
						|
 * Copyright (C) 1999-2005 Igor Pavlov
 | 
						|
 *
 | 
						|
 * SPDX-License-Identifier:	GPL-2.0+
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef __LZMA_TOOL_H__
 | 
						|
#define __LZMA_TOOL_H__
 | 
						|
 | 
						|
#include "7zTypes.h"
 | 
						|
 | 
						|
#ifdef __cplusplus
 | 
						|
extern "C" {
 | 
						|
#endif
 | 
						|
 | 
						|
int lzmaBuffToBuffDecompress (unsigned char *outStream, uint32_t *uncompressedSize,
 | 
						|
    unsigned char *inStream,  uint32_t  length, uint8_t *buf);
 | 
						|
int lzmaBuffToBuffDecompress2Ram(unsigned char * outStream,
 | 
						|
  uint32_t * uncompressedSize, unsigned char * inStream, uint32_t length, uint8_t *buf);
 | 
						|
int lzmaBuffToBuffDecompress2Flash(unsigned char * outStream,
 | 
						|
    uint32_t * uncompressedSize, unsigned char * inStream, uint32_t length, uint8_t *buf);
 | 
						|
 | 
						|
#ifdef __cplusplus
 | 
						|
}
 | 
						|
#endif
 | 
						|
 | 
						|
#endif
 |