xref: /openbmc/u-boot/lib/lzma/LzmaTools.h (revision 83d290c56fab2d38cd1ab4c4cc7099559c1d5046)
1*83d290c5STom Rini /* SPDX-License-Identifier: GPL-2.0+ */
278acc472SPeter Tyser /*
378acc472SPeter Tyser  * Usefuls routines based on the LzmaTest.c file from LZMA SDK 4.65
478acc472SPeter Tyser  *
578acc472SPeter Tyser  * Copyright (C) 2007-2008 Industrie Dial Face S.p.A.
678acc472SPeter Tyser  * Luigi 'Comio' Mantellini (luigi.mantellini@idf-hit.com)
778acc472SPeter Tyser  *
878acc472SPeter Tyser  * Copyright (C) 1999-2005 Igor Pavlov
978acc472SPeter Tyser  */
1078acc472SPeter Tyser 
1178acc472SPeter Tyser #ifndef __LZMA_TOOL_H__
1278acc472SPeter Tyser #define __LZMA_TOOL_H__
1378acc472SPeter Tyser 
1478acc472SPeter Tyser #include <lzma/LzmaTypes.h>
1578acc472SPeter Tyser 
1678acc472SPeter Tyser extern int lzmaBuffToBuffDecompress (unsigned char *outStream, SizeT *uncompressedSize,
1778acc472SPeter Tyser 			      unsigned char *inStream,  SizeT  length);
1878acc472SPeter Tyser #endif
19