1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Usefuls routines based on the LzmaTest.c file from LZMA SDK 4.65
5 * Copyright (C) 2007-2008 Industrie Dial Face S.p.A.
6 * Luigi 'Comio' Mantellini (luigi.mantellini@idf-hit.com)
8 * Copyright (C) 1999-2005 Igor Pavlov
11 #ifndef __LZMA_TOOL_H__
12 #define __LZMA_TOOL_H__
14 #include <lzma/LzmaTypes.h>
16 extern int lzmaBuffToBuffDecompress (unsigned char *outStream, SizeT *uncompressedSize,
17 unsigned char *inStream, SizeT length);