add chaos_calmer branch
[15.05/openwrt.git] / package / kernel / lantiq / ltq-vdsl-fw / src / LzmaWrapper.h
1 /******************************************************************************
2 **
3 ** FILE NAME    : LzmaWrapper.h
4 ** PROJECT      : bootloader
5 ** MODULES      : U-boot
6 **
7 ** DATE         : 2 Nov 2006
8 ** AUTHOR       : Lin Mars
9 ** DESCRIPTION  : LZMA decoder support for U-boot 1.1.5
10 ** COPYRIGHT    :       Copyright (c) 2006
11 **                      Infineon Technologies AG
12 **                      Am Campeon 1-12, 85579 Neubiberg, Germany
13 **
14 **    This program is free software; you can redistribute it and/or modify
15 **    it under the terms of the GNU General Public License as published by
16 **    the Free Software Foundation; either version 2 of the License, or
17 **    (at your option) any later version.
18 **
19 ** HISTORY
20 ** $Date        $Author         $Comment
21 ** 2 Nov 2006   Lin Mars        init version which derived from LzmaTest.c from
22 **                              LZMA v4.43 SDK
23 *******************************************************************************/
24 #ifndef  __LZMA_WRAPPER_H__
25 #define  __LZMA_WRAPPER_H__
26
27 #ifndef LZMA_RESULT_OK
28 #define LZMA_RESULT_OK 0
29 #endif
30 #ifndef LZMA_RESULT_DATA_ERROR
31 #define LZMA_RESULT_DATA_ERROR 1
32 #endif
33
34 extern int lzma_inflate(unsigned char *source, int s_len, unsigned char *dest, int *d_len);
35
36 #endif /*__LZMA_WRAPPER_H__*/