1 /******************************************************************************
3 ** FILE NAME : LzmaWrapper.h
4 ** PROJECT : bootloader
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
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.
20 ** $Date $Author $Comment
21 ** 2 Nov 2006 Lin Mars init version which derived from LzmaTest.c from
23 *******************************************************************************/
24 #ifndef __LZMA_WRAPPER_H__
25 #define __LZMA_WRAPPER_H__
27 #ifndef LZMA_RESULT_OK
28 #define LZMA_RESULT_OK 0
30 #ifndef LZMA_RESULT_DATA_ERROR
31 #define LZMA_RESULT_DATA_ERROR 1
34 extern int lzma_inflate(unsigned char *source
, int s_len
, unsigned char *dest
, int *d_len
);
36 #endif /*__LZMA_WRAPPER_H__*/
This page took 0.043629 seconds and 5 git commands to generate.