Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
CTCaer
GitHub Repository: CTCaer/hekate
Path: blob/master/bdk/libs/compr/lz.h
1476 views
1
/*************************************************************************
2
* Name: lz.h
3
* Author: Marcus Geelnard
4
* Description: LZ77 coder/decoder interface.
5
* Reentrant: Yes
6
*-------------------------------------------------------------------------
7
* Copyright (c) 2003-2006 Marcus Geelnard
8
*
9
* This software is provided 'as-is', without any express or implied
10
* warranty. In no event will the authors be held liable for any damages
11
* arising from the use of this software.
12
*
13
* Permission is granted to anyone to use this software for any purpose,
14
* including commercial applications, and to alter it and redistribute it
15
* freely, subject to the following restrictions:
16
*
17
* 1. The origin of this software must not be misrepresented; you must not
18
* claim that you wrote the original software. If you use this software
19
* in a product, an acknowledgment in the product documentation would
20
* be appreciated but is not required.
21
*
22
* 2. Altered source versions must be plainly marked as such, and must not
23
* be misrepresented as being the original software.
24
*
25
* 3. This notice may not be removed or altered from any source
26
* distribution.
27
*
28
* Marcus Geelnard
29
* marcus.geelnard at home.se
30
*************************************************************************/
31
32
#ifndef _lz_h_
33
#define _lz_h_
34
35
#ifdef __cplusplus
36
extern "C" {
37
#endif
38
39
40
/*************************************************************************
41
* Function prototypes
42
*************************************************************************/
43
44
unsigned int LZ_Uncompress( const unsigned char *in, unsigned char *out,
45
unsigned int insize );
46
47
48
#ifdef __cplusplus
49
}
50
#endif
51
52
#endif /* _lz_h_ */
53
54