diff options
author | Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com> | 2008-09-08 02:46:13 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-09-13 01:59:07 +0200 |
commit | fc9c1727b5b3483ce49c3cb668e8332fb001b8a7 (patch) | |
tree | 4225e1899157c007aebc19d150f62be9f04d11de /lib_generic/lzma/LzmaTools.h | |
parent | 508eb85db7065e34948c189c83f7e348c1cfd61e (diff) | |
download | u-boot-imx-fc9c1727b5b3483ce49c3cb668e8332fb001b8a7.zip u-boot-imx-fc9c1727b5b3483ce49c3cb668e8332fb001b8a7.tar.gz u-boot-imx-fc9c1727b5b3483ce49c3cb668e8332fb001b8a7.tar.bz2 |
Add support for LZMA uncompression algorithm.
Signed-off-by: Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'lib_generic/lzma/LzmaTools.h')
-rw-r--r-- | lib_generic/lzma/LzmaTools.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/lib_generic/lzma/LzmaTools.h b/lib_generic/lzma/LzmaTools.h new file mode 100644 index 0000000..c91fb89 --- /dev/null +++ b/lib_generic/lzma/LzmaTools.h @@ -0,0 +1,35 @@ +/* + * Usefuls routines based on the LzmaTest.c file from LZMA SDK 4.57 + * + * Copyright (C) 2007-2008 Industrie Dial Face S.p.A. + * Luigi 'Comio' Mantellini (luigi.mantellini@idf-hit.com) + * + * Copyright (C) 1999-2005 Igor Pavlov + * + * See file CREDITS for list of people who contributed to this + * project. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + */ + +#ifndef __LZMA_TOOL_H__ +#define __LZMA_TOOL_H__ + +#include "LzmaTypes.h" + +extern int lzmaBuffToBuffDecompress (unsigned char *outStream, SizeT *uncompressedSize, + unsigned char *inStream, SizeT length); +#endif |