Classes | Defines | Typedefs | Functions | Variables

lzoconf.h File Reference

#include <limits.h>
#include <stddef.h>
#include "lzodefs.h"
Include dependency graph for lzoconf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  lzo_callback_t
union  __lzo_pu_u
union  __lzo_pu32_u
union  lzo_align_t

Defines

#define LZO_VERSION   0x2020
#define LZO_VERSION_STRING   "2.02"
#define LZO_VERSION_DATE   "Oct 17 2005"
#define LZO_UINT32_C(c)   c ## UL
#define lzo_xint   lzo_uint
#define __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_xintp   lzo_xint __LZO_MMODEL *
#define lzo_voidpp   lzo_voidp __LZO_MMODEL *
#define lzo_bytepp   lzo_bytep __LZO_MMODEL *
#define lzo_byte   unsigned char __LZO_MMODEL
#define __LZO_EXTERN_C   extern
#define __LZO_CDECL   __lzo_cdecl
#define __LZO_EXPORT1
#define __LZO_EXPORT2
#define LZO_PUBLIC(_rettype)   __LZO_EXPORT1 _rettype __LZO_EXPORT2 __LZO_CDECL
#define LZO_EXTERN(_rettype)   __LZO_EXTERN_C LZO_PUBLIC(_rettype)
#define LZO_PRIVATE(_rettype)   static _rettype __LZO_CDECL
#define lzo_callback_p   lzo_callback_t __LZO_MMODEL *
#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_E_NOT_YET_IMPLEMENTED   (-9)
#define lzo_sizeof_dict_t   ((unsigned)sizeof(lzo_bytep))
#define lzo_init()
#define LZO_PTR_ALIGN_UP(_ptr, _size)   ((_ptr) + (lzo_uint) __lzo_align_gap((const lzo_voidp)(_ptr),(lzo_uint)(_size)))

Typedefs

typedef int lzo_bool
typedef lzo_uint src_len
typedef lzo_uint lzo_bytep dst
typedef lzo_uint lzo_bytep
lzo_uintp 
dst_len
typedef lzo_uint lzo_bytep
lzo_uintp lzo_voidp 
wrkmem
typedef int(__LZO_CDECL * lzo_compress_dict_t )(const lzo_bytep src, lzo_uint src_len, lzo_bytep dst, lzo_uintp dst_len, lzo_voidp wrkmem, const lzo_bytep dict, lzo_uint dict_len)
typedef int(__LZO_CDECL * lzo_decompress_dict_t )(const lzo_bytep src, lzo_uint src_len, lzo_bytep dst, lzo_uintp dst_len, lzo_voidp wrkmem, const lzo_bytep dict, lzo_uint dict_len)
typedef struct lzo_callback_t lzo_callback_t
typedef lzo_uint items
typedef lzo_uint lzo_uint size
typedef lzo_voidp ptr

Functions

typedef int (__LZO_CDECL *lzo_compress_t)(const lzo_bytep src
typedef lzo_voidp (__LZO_CDECL *lzo_alloc_func_t)(lzo_callback_p self
typedef void (__LZO_CDECL *lzo_free_func_t)(lzo_callback_p self
 LZO_EXTERN (int) __lzo_init_v2(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_bytep _buf, lzo_uint _len)
 lzo_crc32 (lzo_uint32 _c, const lzo_bytep _buf, lzo_uint _len)
 lzo_get_crc32_table (void)

Variables

typedef lzo_uint
typedef int
lzo_uint _size

Define Documentation

#define __LZO_CDECL   __lzo_cdecl

Definition at line 209 of file lzoconf.h.

#define __LZO_EXPORT1

Definition at line 214 of file lzoconf.h.

#define __LZO_EXPORT2

Definition at line 217 of file lzoconf.h.

#define __LZO_EXTERN_C   extern

Definition at line 203 of file lzoconf.h.

#define __LZO_MMODEL

Definition at line 166 of file lzoconf.h.

#define lzo_byte   unsigned char __LZO_MMODEL

Definition at line 189 of file lzoconf.h.

#define lzo_bytep   unsigned char __LZO_MMODEL *

Definition at line 176 of file lzoconf.h.

#define lzo_bytepp   lzo_bytep __LZO_MMODEL *

Definition at line 187 of file lzoconf.h.

#define lzo_callback_p   lzo_callback_t __LZO_MMODEL *

Definition at line 265 of file lzoconf.h.

#define lzo_charp   char __LZO_MMODEL *

Definition at line 177 of file lzoconf.h.

#define LZO_E_EOF_NOT_FOUND   (-7)

Definition at line 310 of file lzoconf.h.

#define LZO_E_ERROR   (-1)

Definition at line 304 of file lzoconf.h.

#define LZO_E_INPUT_NOT_CONSUMED   (-8)

Definition at line 311 of file lzoconf.h.

#define LZO_E_INPUT_OVERRUN   (-4)

Definition at line 307 of file lzoconf.h.

#define LZO_E_LOOKBEHIND_OVERRUN   (-6)

Definition at line 309 of file lzoconf.h.

#define LZO_E_NOT_COMPRESSIBLE   (-3)

Definition at line 306 of file lzoconf.h.

#define LZO_E_NOT_YET_IMPLEMENTED   (-9)

Definition at line 312 of file lzoconf.h.

#define LZO_E_OK   0

Definition at line 303 of file lzoconf.h.

#define LZO_E_OUT_OF_MEMORY   (-2)

Definition at line 305 of file lzoconf.h.

#define LZO_E_OUTPUT_OVERRUN   (-5)

Definition at line 308 of file lzoconf.h.

#define LZO_EXTERN (   _rettype )    __LZO_EXTERN_C LZO_PUBLIC(_rettype)

Definition at line 225 of file lzoconf.h.

#define lzo_init (  )
Value:
__lzo_init_v2(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_callback_t))

Definition at line 325 of file lzoconf.h.

#define lzo_int32p   lzo_int32 __LZO_MMODEL *

Definition at line 182 of file lzoconf.h.

#define lzo_intp   lzo_int __LZO_MMODEL *

Definition at line 184 of file lzoconf.h.

#define LZO_PRIVATE (   _rettype )    static _rettype __LZO_CDECL

Definition at line 228 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 364 of file lzoconf.h.

#define LZO_PUBLIC (   _rettype )    __LZO_EXPORT1 _rettype __LZO_EXPORT2 __LZO_CDECL

Definition at line 222 of file lzoconf.h.

#define lzo_shortp   short __LZO_MMODEL *

Definition at line 179 of file lzoconf.h.

#define lzo_sizeof_dict_t   ((unsigned)sizeof(lzo_bytep))

Definition at line 316 of file lzoconf.h.

#define LZO_UINT32_C (   c )    c ## UL

Definition at line 83 of file lzoconf.h.

#define lzo_uint32p   lzo_uint32 __LZO_MMODEL *

Definition at line 181 of file lzoconf.h.

#define lzo_uintp   lzo_uint __LZO_MMODEL *

Definition at line 183 of file lzoconf.h.

#define lzo_ushortp   unsigned short __LZO_MMODEL *

Definition at line 180 of file lzoconf.h.

#define LZO_VERSION   0x2020

Definition at line 40 of file lzoconf.h.

#define LZO_VERSION_DATE   "Oct 17 2005"

Definition at line 42 of file lzoconf.h.

#define LZO_VERSION_STRING   "2.02"

Definition at line 41 of file lzoconf.h.

#define lzo_voidp   void __LZO_MMODEL *

Definition at line 178 of file lzoconf.h.

#define lzo_voidpp   lzo_voidp __LZO_MMODEL *

Definition at line 186 of file lzoconf.h.

#define lzo_xint   lzo_uint

Definition at line 158 of file lzoconf.h.

#define lzo_xintp   lzo_xint __LZO_MMODEL *

Definition at line 185 of file lzoconf.h.


Typedef Documentation

typedef lzo_uint lzo_bytep dst

Definition at line 233 of file lzoconf.h.

typedef lzo_uint lzo_bytep lzo_uintp dst_len

Definition at line 233 of file lzoconf.h.

typedef lzo_uint items

Definition at line 269 of file lzoconf.h.

typedef int lzo_bool

Definition at line 191 of file lzoconf.h.

Definition at line 264 of file lzoconf.h.

typedef int(__LZO_CDECL * lzo_compress_dict_t)(const lzo_bytep src, lzo_uint src_len, lzo_bytep dst, lzo_uintp dst_len, lzo_voidp wrkmem, const lzo_bytep dict, lzo_uint dict_len)

Definition at line 248 of file lzoconf.h.

typedef int(__LZO_CDECL * lzo_decompress_dict_t)(const lzo_bytep src, lzo_uint src_len, lzo_bytep dst, lzo_uintp dst_len, lzo_voidp wrkmem, const lzo_bytep dict, lzo_uint dict_len)

Definition at line 254 of file lzoconf.h.

typedef lzo_voidp ptr

Definition at line 271 of file lzoconf.h.

Definition at line 269 of file lzoconf.h.

typedef lzo_uint src_len

Definition at line 233 of file lzoconf.h.

typedef lzo_uint lzo_bytep lzo_uintp lzo_voidp wrkmem

Definition at line 233 of file lzoconf.h.


Function Documentation

typedef int ( __LZO_CDECL *  lzo_compress_t ) const
lzo_adler32 ( lzo_uint32  _adler,
const lzo_bytep  _buf,
lzo_uint  _len 
)

Definition at line 2005 of file minilzo.c.

lzo_crc32 ( lzo_uint32  _c,
const lzo_bytep  _buf,
lzo_uint  _len 
)
LZO_EXTERN ( int   )
LZO_EXTERN ( unsigned   )
LZO_EXTERN ( const char *   )
LZO_EXTERN ( const   lzo_charp )
lzo_get_crc32_table ( 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 
)
typedef lzo_voidp ( __LZO_CDECL *  lzo_alloc_func_t )
typedef void ( __LZO_CDECL *  lzo_free_func_t )

Variable Documentation

Definition at line 363 of file lzoconf.h.

typedef int

Definition at line 275 of file lzoconf.h.

typedef lzo_uint

Definition at line 275 of file lzoconf.h.