初始提交
This commit is contained in:
32
common/lzma/LzmaTools.h
Normal file
32
common/lzma/LzmaTools.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* 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
|
Reference in New Issue
Block a user