//1// Name: lz.h2// Author: Marcus Geelnard3// Description: LZ77 coder/decoder interface.4// Reentrant: Yes5// ------------------------------------------------------------------------6// $ATH_LICENSE_NULL$7// Copyright (c) 2003-2006 Marcus Geelnard8//9// This software is provided 'as-is', without any express or implied10// warranty. In no event will the authors be held liable for any damages11// 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 it15// freely, subject to the following restrictions:16//17// 1. The origin of this software must not be misrepresented; you must not18// claim that you wrote the original software. If you use this software19// in a product, an acknowledgment in the product documentation would20// be appreciated but is not required.21//22// 2. Altered source versions must be plainly marked as such, and must not23// be misrepresented as being the original software.24//25// 3. This notice may not be removed or altered from any source26// distribution.27//28// Marcus Geelnard29// marcus.geelnard at home.se30//3132//33// This file has been altered from the original version.34//3536#ifndef _lz_h_37#define _lz_h_3839#ifdef __cplusplus40extern "C" {41#endif424344/*************************************************************************45* Function prototypes46*************************************************************************/4748int LZ_Compress( unsigned char *in, unsigned char *out,49unsigned int insize );50int LZ_CompressFast( unsigned char *in, unsigned char *out,51unsigned int insize, unsigned int *work );52int LZ_Uncompress( unsigned char *in, unsigned char *out,53unsigned int insize );545556#ifdef __cplusplus57}58#endif5960#endif /* _lz_h_ */616263