lzoconf.h File Reference

-- configuration for the LZO real-time data compression library More...

#include <limits.h>

Go to the source code of this file.

Data Structures

union  __lzo_pu_u
union  __lzo_pu32_u
union  lzo_align_t

Defines

#define LZO_VERSION   0x1080
#define LZO_VERSION_STRING   "1.08"
#define LZO_VERSION_DATE   "Jul 12 2002"
#define LZO_0xffffffffL   4294967295ul
#define LZO_UINT32_C(c)   c ## U
#define LZO_UINT32_MAX   UINT_MAX
#define LZO_INT32_MAX   INT_MAX
#define LZO_INT32_MIN   INT_MIN
#define LZO_UINT_MAX   UINT_MAX
#define LZO_INT_MAX   INT_MAX
#define LZO_INT_MIN   INT_MIN
#define __LZO_CMODEL
#define __LZO_DMODEL
#define __LZO_MMODEL
#define lzo_byte   unsigned char __LZO_MMODEL
#define lzo_bytep   unsigned char __LZO_MMODEL *
#define lzo_charp   char __LZO_MMODEL *
#define lzo_voidp   void __LZO_MMODEL *
#define lzo_shortp   short __LZO_MMODEL *
#define lzo_ushortp   unsigned short __LZO_MMODEL *
#define lzo_uint32p   lzo_uint32 __LZO_MMODEL *
#define lzo_int32p   lzo_int32 __LZO_MMODEL *
#define lzo_uintp   lzo_uint __LZO_MMODEL *
#define lzo_intp   lzo_int __LZO_MMODEL *
#define lzo_voidpp   lzo_voidp __LZO_MMODEL *
#define lzo_bytepp   lzo_bytep __LZO_MMODEL *
#define lzo_sizeof_dict_t   sizeof(lzo_bytep)
#define __LZO_EXTERN_C   extern
#define __LZO_CDECL   __LZO_CMODEL
#define __LZO_ENTRY   __LZO_CDECL
#define LZO_NOTHROW
#define __LZO_EXPORT1
#define __LZO_EXPORT2
#define LZO_PUBLIC(_rettype)   __LZO_EXPORT1 _rettype __LZO_EXPORT2 __LZO_ENTRY
#define LZO_EXTERN(_rettype)   __LZO_EXTERN_C LZO_PUBLIC(_rettype)
#define LZO_PRIVATE(_rettype)   static _rettype __LZO_ENTRY
#define LZO_PUBLIC_CDECL(_rettype)   __LZO_EXPORT1 _rettype __LZO_EXPORT2 __LZO_CDECL
#define LZO_EXTERN_CDECL(_rettype)   __LZO_EXTERN_C LZO_PUBLIC_CDECL(_rettype)
#define LZO_PUBLIC_VAR(_type)   __LZO_EXPORT1 _type __LZO_EXPORT2 __LZO_DMODEL
#define LZO_EXTERN_VAR(_type)   extern LZO_PUBLIC_VAR(_type)
#define LZO_E_OK   0
#define LZO_E_ERROR   (-1)
#define LZO_E_OUT_OF_MEMORY   (-2)
#define LZO_E_NOT_COMPRESSIBLE   (-3)
#define LZO_E_INPUT_OVERRUN   (-4)
#define LZO_E_OUTPUT_OVERRUN   (-5)
#define LZO_E_LOOKBEHIND_OVERRUN   (-6)
#define LZO_E_EOF_NOT_FOUND   (-7)
#define LZO_E_INPUT_NOT_CONSUMED   (-8)
#define lzo_init()
#define LZO_PTR_ALIGN_UP(_ptr, _size)   ((_ptr) + (lzo_uint) __lzo_align_gap((const lzo_voidp)(_ptr),(lzo_uint)(_size)))
#define LZO_ALIGN(_ptr, _size)   LZO_PTR_ALIGN_UP(_ptr,_size)

Typedefs

typedef unsigned int lzo_uint32
typedef int lzo_int32
typedef unsigned int lzo_uint
typedef int lzo_int
typedef int lzo_bool
typedef lzo_uint src_len
typedef lzo_uint lzo_byte * dst
typedef lzo_uint lzo_byte lzo_uintp dst_len
typedef lzo_uint lzo_byte
lzo_uintp lzo_voidp 
wrkmem
typedef int(__LZO_ENTRY * lzo_compress_dict_t )(const lzo_byte *src, lzo_uint src_len, lzo_byte *dst, lzo_uintp dst_len, lzo_voidp wrkmem, const lzo_byte *dict, lzo_uint dict_len)
typedef int(__LZO_ENTRY * lzo_decompress_dict_t )(const lzo_byte *src, lzo_uint src_len, lzo_byte *dst, lzo_uintp dst_len, lzo_voidp wrkmem, const lzo_byte *dict, lzo_uint dict_len)
typedef int(__LZO_CDECL * lzo_compress_asm_t )(const lzo_byte *src, lzo_uint src_len, lzo_byte *dst, lzo_uintp dst_len, lzo_voidp wrkmem)
typedef int(__LZO_CDECL * lzo_decompress_asm_t )(const lzo_byte *src, lzo_uint src_len, lzo_byte *dst, lzo_uintp dst_len, lzo_voidp wrkmem)

Functions

typedef int (__LZO_ENTRY *lzo_compress_t)(const lzo_byte *src
typedef void (__LZO_ENTRY *lzo_progress_callback_t)(lzo_uint
 LZO_EXTERN (int) __lzo_init2(unsigned
 LZO_EXTERN (unsigned) lzo_version()
 LZO_EXTERN (const char *) lzo_version_string()
 LZO_EXTERN (const lzo_charp) _lzo_version_string()
 lzo_memcmp (const lzo_voidp _s1, const lzo_voidp _s2, lzo_uint _len)
 lzo_memcpy (lzo_voidp _dest, const lzo_voidp _src, lzo_uint _len)
 lzo_memmove (lzo_voidp _dest, const lzo_voidp _src, lzo_uint _len)
 lzo_memset (lzo_voidp _s, int _c, lzo_uint _len)
 lzo_adler32 (lzo_uint32 _adler, const lzo_byte *_buf, lzo_uint _len)
 lzo_crc32 (lzo_uint32 _c, const lzo_byte *_buf, lzo_uint _len)

Variables

 int
lzo_uint _size


Detailed Description

-- configuration for the LZO real-time data compression library

This file is part of the LZO real-time data compression library.

Copyright (C) 2002 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2001 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2000 Markus Franz Xaver Johannes Oberhumer Copyright (C) 1999 Markus Franz Xaver Johannes Oberhumer Copyright (C) 1998 Markus Franz Xaver Johannes Oberhumer Copyright (C) 1997 Markus Franz Xaver Johannes Oberhumer Copyright (C) 1996 Markus Franz Xaver Johannes Oberhumer All Rights Reserved.

The LZO library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

The LZO library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with the LZO library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Markus F.X.J. Oberhumer <markus@oberhumer.com> http://www.oberhumer.com/opensource/lzo/

Definition in file lzoconf.h.


Define Documentation

 
#define lzo_init (  ) 

Value:

__lzo_init2(LZO_VERSION,(int)sizeof(short),(int)sizeof(int),\
    (int)sizeof(long),(int)sizeof(lzo_uint32),(int)sizeof(lzo_uint),\
    (int)lzo_sizeof_dict_t,(int)sizeof(char *),(int)sizeof(lzo_voidp),\
    (int)sizeof(lzo_compress_t))

Definition at line 402 of file lzoconf.h.


Generated on Mon Jun 8 23:04:12 2009 for OpenTTD by  doxygen 1.5.6