Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Luigi 'Comio' Mantellini | 35afc06 | 2008-09-08 02:46:13 +0200 | [diff] [blame] | 2 | /* |
Luigi 'Comio' Mantellini | d02bd74 | 2009-07-21 10:45:49 +0200 | [diff] [blame] | 3 | * Usefuls routines based on the LzmaTest.c file from LZMA SDK 4.65 |
Luigi 'Comio' Mantellini | 35afc06 | 2008-09-08 02:46:13 +0200 | [diff] [blame] | 4 | * |
| 5 | * Copyright (C) 2007-2008 Industrie Dial Face S.p.A. |
| 6 | * Luigi 'Comio' Mantellini (luigi.mantellini@idf-hit.com) |
| 7 | * |
| 8 | * Copyright (C) 1999-2005 Igor Pavlov |
Luigi 'Comio' Mantellini | 35afc06 | 2008-09-08 02:46:13 +0200 | [diff] [blame] | 9 | */ |
| 10 | |
| 11 | #ifndef __LZMA_TOOL_H__ |
| 12 | #define __LZMA_TOOL_H__ |
| 13 | |
Luigi 'Comio' Mantellini | d02bd74 | 2009-07-21 10:45:49 +0200 | [diff] [blame] | 14 | #include <lzma/LzmaTypes.h> |
Luigi 'Comio' Mantellini | 35afc06 | 2008-09-08 02:46:13 +0200 | [diff] [blame] | 15 | |
| 16 | extern int lzmaBuffToBuffDecompress (unsigned char *outStream, SizeT *uncompressedSize, |
| 17 | unsigned char *inStream, SizeT length); |
| 18 | #endif |