Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

lzoconf.h File Reference

#include <limits.h>

Go to the source code of this file.

Classes

union  __lzo_pu32_u
union  __lzo_pu_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(void)
 LZO_EXTERN (const char *) lzo_version_string(void)
 LZO_EXTERN (const lzo_charp) _lzo_version_string(void)
 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)
 LZO_EXTERN (lzo_bool) lzo_assert(int _expr)

Variables

 int
lzo_uint _size


Define Documentation

#define __LZO_CDECL   __LZO_CMODEL
 

Definition at line 272 of file lzoconf.h.

#define __LZO_CMODEL
 

Definition at line 202 of file lzoconf.h.

#define __LZO_DMODEL
 

Definition at line 213 of file lzoconf.h.

#define __LZO_ENTRY   __LZO_CDECL
 

Definition at line 276 of file lzoconf.h.

#define __LZO_EXPORT1
 

Definition at line 338 of file lzoconf.h.

#define __LZO_EXPORT2
 

Definition at line 341 of file lzoconf.h.

#define __LZO_EXTERN_C   extern
 

Definition at line 259 of file lzoconf.h.

Referenced by LZO_EXTERN().

#define __LZO_MMODEL
 

Definition at line 220 of file lzoconf.h.

#define LZO_0xffffffffL   4294967295ul
 

Definition at line 68 of file lzoconf.h.

Referenced by _lzo_config_check().

#define LZO_ALIGN _ptr,
_size   )     LZO_PTR_ALIGN_UP(_ptr,_size)
 

Definition at line 443 of file lzoconf.h.

#define lzo_byte   unsigned char __LZO_MMODEL
 

Definition at line 232 of file lzoconf.h.

Referenced by DO_COMPRESS(), DO_DECOMPRESS(), lzo_memcmp(), lzo_memcpy(), lzo_memmove(), and lzo_memset().

#define lzo_bytep   unsigned char __LZO_MMODEL *
 

Definition at line 233 of file lzoconf.h.

Referenced by LZO_EXTERN().

#define lzo_bytepp   lzo_bytep __LZO_MMODEL *
 

Definition at line 243 of file lzoconf.h.

Referenced by LZO_EXTERN().

#define lzo_charp   char __LZO_MMODEL *
 

Definition at line 234 of file lzoconf.h.

#define LZO_E_EOF_NOT_FOUND   (-7)
 

Definition at line 391 of file lzoconf.h.

Referenced by DO_DECOMPRESS().

#define LZO_E_ERROR   (-1)
 

Definition at line 385 of file lzoconf.h.

Referenced by __lzo_init2(), and _lzo_config_check().

#define LZO_E_INPUT_NOT_CONSUMED   (-8)
 

Definition at line 392 of file lzoconf.h.

Referenced by DO_DECOMPRESS().

#define LZO_E_INPUT_OVERRUN   (-4)
 

Definition at line 388 of file lzoconf.h.

Referenced by DO_DECOMPRESS().

#define LZO_E_LOOKBEHIND_OVERRUN   (-6)
 

Definition at line 390 of file lzoconf.h.

Referenced by DO_DECOMPRESS().

#define LZO_E_NOT_COMPRESSIBLE   (-3)
 

Definition at line 387 of file lzoconf.h.

#define LZO_E_OK   0
 

Definition at line 384 of file lzoconf.h.

Referenced by __lzo_init2(), _lzo_config_check(), DO_COMPRESS(), and DO_DECOMPRESS().

#define LZO_E_OUT_OF_MEMORY   (-2)
 

Definition at line 386 of file lzoconf.h.

#define LZO_E_OUTPUT_OVERRUN   (-5)
 

Definition at line 389 of file lzoconf.h.

Referenced by DO_DECOMPRESS().

#define LZO_EXTERN _rettype   )     __LZO_EXTERN_C LZO_PUBLIC(_rettype)
 

Definition at line 350 of file lzoconf.h.

#define LZO_EXTERN_CDECL _rettype   )     __LZO_EXTERN_C LZO_PUBLIC_CDECL(_rettype)
 

Definition at line 362 of file lzoconf.h.

#define LZO_EXTERN_VAR _type   )     extern LZO_PUBLIC_VAR(_type)
 

Definition at line 372 of file lzoconf.h.

 
#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 401 of file lzoconf.h.

#define LZO_INT32_MAX   INT_MAX
 

Definition at line 156 of file lzoconf.h.

#define LZO_INT32_MIN   INT_MIN
 

Definition at line 157 of file lzoconf.h.

#define lzo_int32p   lzo_int32 __LZO_MMODEL *
 

Definition at line 239 of file lzoconf.h.

#define LZO_INT_MAX   INT_MAX
 

Definition at line 175 of file lzoconf.h.

#define LZO_INT_MIN   INT_MIN
 

Definition at line 176 of file lzoconf.h.

#define lzo_intp   lzo_int __LZO_MMODEL *
 

Definition at line 241 of file lzoconf.h.

#define LZO_NOTHROW
 

Definition at line 282 of file lzoconf.h.

#define LZO_PRIVATE _rettype   )     static _rettype __LZO_ENTRY
 

Definition at line 353 of file lzoconf.h.

#define LZO_PTR_ALIGN_UP _ptr,
_size   )     ((_ptr) + (lzo_uint) __lzo_align_gap((const lzo_voidp)(_ptr),(lzo_uint)(_size)))
 

Definition at line 439 of file lzoconf.h.

#define LZO_PUBLIC _rettype   )     __LZO_EXPORT1 _rettype __LZO_EXPORT2 __LZO_ENTRY
 

Definition at line 346 of file lzoconf.h.

#define LZO_PUBLIC_CDECL _rettype   )     __LZO_EXPORT1 _rettype __LZO_EXPORT2 __LZO_CDECL
 

Definition at line 358 of file lzoconf.h.

#define LZO_PUBLIC_VAR _type   )     __LZO_EXPORT1 _type __LZO_EXPORT2 __LZO_DMODEL
 

Definition at line 368 of file lzoconf.h.

#define lzo_shortp   short __LZO_MMODEL *
 

Definition at line 236 of file lzoconf.h.

#define lzo_sizeof_dict_t   sizeof(lzo_bytep)
 

Definition at line 246 of file lzoconf.h.

Referenced by __lzo_init2(), and _lzo_config_check().

#define LZO_UINT32_C  )     c ## U
 

Definition at line 74 of file lzoconf.h.

#define LZO_UINT32_MAX   UINT_MAX
 

Definition at line 155 of file lzoconf.h.

#define lzo_uint32p   lzo_uint32 __LZO_MMODEL *
 

Definition at line 238 of file lzoconf.h.

Referenced by LZO_EXTERN().

#define LZO_UINT_MAX   UINT_MAX
 

Definition at line 174 of file lzoconf.h.

#define lzo_uintp   lzo_uint __LZO_MMODEL *
 

Definition at line 240 of file lzoconf.h.

Referenced by LZO_EXTERN().

#define lzo_ushortp   unsigned short __LZO_MMODEL *
 

Definition at line 237 of file lzoconf.h.

Referenced by DO_DECOMPRESS().

#define LZO_VERSION   0x1080
 

Definition at line 38 of file lzoconf.h.

Referenced by lzo_version().

#define LZO_VERSION_DATE   "Jul 12 2002"
 

Definition at line 40 of file lzoconf.h.

Referenced by _lzo_version_date(), and lzo_version_date().

#define LZO_VERSION_STRING   "1.08"
 

Definition at line 39 of file lzoconf.h.

Referenced by _lzo_version_string(), and lzo_version_string().

#define lzo_voidp   void __LZO_MMODEL *
 

Definition at line 235 of file lzoconf.h.

Referenced by __lzo_init2(), and LZO_EXTERN().

#define lzo_voidpp   lzo_voidp __LZO_MMODEL *
 

Definition at line 242 of file lzoconf.h.


Typedef Documentation

typedef lzo_uint lzo_byte * dst
 

Definition at line 289 of file lzoconf.h.

typedef lzo_uint lzo_byte lzo_uintp dst_len
 

Definition at line 289 of file lzoconf.h.

typedef int lzo_bool
 

Definition at line 188 of file lzoconf.h.

Referenced by _lzo_config_check().

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 )
 

Definition at line 318 of file lzoconf.h.

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 )
 

Definition at line 304 of file lzoconf.h.

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 )
 

Definition at line 323 of file lzoconf.h.

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 )
 

Definition at line 310 of file lzoconf.h.

typedef int lzo_int
 

Definition at line 173 of file lzoconf.h.

Referenced by LZO_EXTERN().

typedef int lzo_int32
 

Definition at line 154 of file lzoconf.h.

Referenced by LZO_EXTERN().

typedef lzo_uint
 

Definition at line 172 of file lzoconf.h.

Referenced by __lzo_align_gap(), __lzo_init2(), DO_COMPRESS(), DO_DECOMPRESS(), ht_compressed_stream::flush_compressed(), ht_compressed_stream::flush_uncompressed(), lzo_adler32(), LZO_EXTERN(), lzo_memcmp(), lzo_memcpy(), lzo_memmove(), and lzo_memset().

typedef unsigned int lzo_uint32
 

Definition at line 153 of file lzoconf.h.

Referenced by __lzo_init2(), _lzo_config_check(), lzo_adler32(), and LZO_EXTERN().

typedef lzo_uint src_len
 

Definition at line 289 of file lzoconf.h.

typedef lzo_uint lzo_byte lzo_uintp lzo_voidp wrkmem
 

Definition at line 289 of file lzoconf.h.

Referenced by DO_COMPRESS(), and DO_DECOMPRESS().


Function Documentation

typedef int __LZO_ENTRY *  lzo_compress_t  )  const
 

Referenced by exec_evalfunc().

lzo_adler32 lzo_uint32  _adler,
const lzo_byte *  _buf,
lzo_uint  _len
 

Definition at line 775 of file minilzo.c.

References buf, len, LZO_BASE, LZO_DO16, LZO_NMAX, lzo_uint, lzo_uint32, and NULL.

Referenced by _lzo_config_check().

lzo_crc32 lzo_uint32  _c,
const lzo_byte *  _buf,
lzo_uint  _len
 

LZO_EXTERN lzo_bool   ) 
 

LZO_EXTERN const  lzo_charp  ) 
 

LZO_EXTERN const char *   ) 
 

LZO_EXTERN unsigned   ) 
 

LZO_EXTERN int   ) 
 

lzo_memcmp const lzo_voidp  _s1,
const lzo_voidp  _s2,
lzo_uint  _len
 

Definition at line 806 of file minilzo.c.

References len, lzo_byte, and lzo_uint.

lzo_memcpy lzo_voidp  _dest,
const lzo_voidp  _src,
lzo_uint  _len
 

Definition at line 829 of file minilzo.c.

References len, lzo_byte, and lzo_uint.

lzo_memmove lzo_voidp  _dest,
const lzo_voidp  _src,
lzo_uint  _len
 

Definition at line 847 of file minilzo.c.

References len, lzo_byte, and lzo_uint.

lzo_memset lzo_voidp  _s,
int  _c,
lzo_uint  _len
 

Definition at line 877 of file minilzo.c.

References len, lzo_byte, LZO_BYTE, and lzo_uint.

typedef void __LZO_ENTRY *  lzo_progress_callback_t  ) 
 


Variable Documentation

lzo_uint _size
 

Definition at line 438 of file lzoconf.h.

Referenced by ht_data_mem::ht_data_mem().

typedef int
 


Generated on Fri May 7 21:15:51 2004 by doxygen 1.3.5