KDevelop API Documentation

decompress.h

Go to the documentation of this file.
00001 /*  This library is free software; you can redistribute it and/or
00002     modify it under the terms of the GNU Library General Public
00003     License as published by the Free Software Foundation; either
00004     version 2 of the License, or (at your option) any later version.
00005 
00006     This library is distributed in the hope that it will be useful,
00007     but WITHOUT ANY WARRANTY; without even the implied warranty of
00008     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00009     Library General Public License for more details.
00010 
00011     You should have received a copy of the GNU Library General Public License
00012     along with this library; see the file COPYING.LIB.  If not, write to
00013     the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00014     Boston, MA 02111-1307, USA.
00015 */
00016 
00017 #ifndef __decompress_h__
00018 #define __decompress_h__
00019 
00020 #ifdef __cplusplus__
00021 extern "C" {
00022 #endif
00023 
00024 typedef unsigned char  UBYTE; /* 8 bits exactly    */
00025 typedef unsigned short UWORD; /* 16 bits (or more) */
00026 typedef unsigned int   ULONG; /* 32 bits (or more) */
00027 typedef   signed int    LONG; /* 32 bits (or more) */
00028 
00029 typedef struct lzx_bits
00030 {
00031     ULONG bb;
00032     int bl;
00033     UBYTE *ip;
00034 } lzx_bits;
00035 
00036 int LZXinit( int window );
00037 int LZXdecompress( UBYTE *inpos, int inlen, UBYTE *outpos, int outlen );
00038 
00039 #ifdef __cplusplus__
00040 }
00041 #endif
00042 
00043 #endif // __decompress_h__
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:22:39 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003