Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
lzoconf.h File Reference
#include <limits.h>

Go to the source code of this file.

Macros

#define LZO_VERSION   0x0200
 
#define LZO_VERSION_STRING   "0.20"
 
#define LZO_VERSION_DATE   "11 Aug 1996"
 
#define LZO_UINT_MAX   UINT_MAX
 
#define __LZO_MMODEL
 
#define lzo_byte   unsigned char __LZO_MMODEL
 
#define lzo_voidp   void __LZO_MMODEL *
 
#define lzo_bytep   unsigned char __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_ALIGN(ptr, size)
 
#define LZO_EXTERN_C   extern
 
#define __LZO_ENTRY
 
#define __LZO_EXPORT
 
#define LZO_EXTERN(_rettype)
 
#define LZO_E_OK   0
 
#define LZO_E_ERROR   (-1)
 
#define LZO_E_NOT_COMPRESSIBLE   (-2) /* not used right now */
 
#define LZO_E_EOF_NOT_FOUND   (-3)
 
#define LZO_E_INPUT_OVERRUN   (-4)
 
#define LZO_E_OUTPUT_OVERRUN   (-5)
 
#define LZO_E_LOOKBEHIND_OVERRUN   (-6)
 
#define LZO_E_OUT_OF_MEMORY   (-7) /* not used right now */
 

Typedefs

typedef unsigned int lzo_uint
 
typedef int lzo_int
 
typedef unsigned long lzo_ptr_t
 
typedef int __LZO_ENTRY(__LZO_EXPORTlzo_compress_t) (const lzo_byte *src, lzo_uint src_len, lzo_byte *dst, lzo_uint *dst_len, lzo_voidp wrkmem)
 
typedef int __LZO_ENTRY(__LZO_EXPORTlzo_decompress_t) (const lzo_byte *src, lzo_uint src_len, lzo_byte *dst, lzo_uint *dst_len, lzo_voidp wrkmem)
 
typedef void __LZO_ENTRY(__LZO_EXPORTlzo_progress_callback_t) (lzo_uint, lzo_uint)
 

Functions

 LZO_EXTERN (int) lzo_init(void)
 
 LZO_EXTERN (unsigned) lzo_version(void)
 
 LZO_EXTERN (const char *) 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_uint _adler, const lzo_byte *_buf, lzo_uint _len)
 

Macro Definition Documentation

◆ __LZO_ENTRY

#define __LZO_ENTRY

Definition at line 156 of file lzoconf.h.

◆ __LZO_EXPORT

#define __LZO_EXPORT

Definition at line 159 of file lzoconf.h.

◆ __LZO_MMODEL

#define __LZO_MMODEL

Definition at line 117 of file lzoconf.h.

◆ LZO_ALIGN

#define LZO_ALIGN ( ptr,
size )
Value:
((lzo_voidp) (((lzo_ptr_t)(ptr) + (size)-1) & ~((lzo_ptr_t)((size)-1))))
#define lzo_voidp
Definition lzoconf.h:128
unsigned long lzo_ptr_t
Definition lzoconf.h:137

Definition at line 140 of file lzoconf.h.

◆ lzo_byte

#define lzo_byte   unsigned char __LZO_MMODEL

Definition at line 127 of file lzoconf.h.

◆ lzo_bytep

#define lzo_bytep   unsigned char __LZO_MMODEL *

Definition at line 129 of file lzoconf.h.

◆ lzo_bytepp

#define lzo_bytepp   lzo_bytep __LZO_MMODEL *

Definition at line 133 of file lzoconf.h.

◆ LZO_E_EOF_NOT_FOUND

#define LZO_E_EOF_NOT_FOUND   (-3)

Definition at line 194 of file lzoconf.h.

◆ LZO_E_ERROR

#define LZO_E_ERROR   (-1)

Definition at line 192 of file lzoconf.h.

◆ LZO_E_INPUT_OVERRUN

#define LZO_E_INPUT_OVERRUN   (-4)

Definition at line 195 of file lzoconf.h.

◆ LZO_E_LOOKBEHIND_OVERRUN

#define LZO_E_LOOKBEHIND_OVERRUN   (-6)

Definition at line 197 of file lzoconf.h.

◆ LZO_E_NOT_COMPRESSIBLE

#define LZO_E_NOT_COMPRESSIBLE   (-2) /* not used right now */

Definition at line 193 of file lzoconf.h.

◆ LZO_E_OK

#define LZO_E_OK   0

Definition at line 191 of file lzoconf.h.

◆ LZO_E_OUT_OF_MEMORY

#define LZO_E_OUT_OF_MEMORY   (-7) /* not used right now */

Definition at line 198 of file lzoconf.h.

◆ LZO_E_OUTPUT_OVERRUN

#define LZO_E_OUTPUT_OVERRUN   (-5)

Definition at line 196 of file lzoconf.h.

◆ LZO_EXTERN

#define LZO_EXTERN ( _rettype)
Value:
#define LZO_EXTERN_C
Definition lzoconf.h:151
#define __LZO_ENTRY
Definition lzoconf.h:156
#define __LZO_EXPORT
Definition lzoconf.h:159

Definition at line 163 of file lzoconf.h.

◆ LZO_EXTERN_C

#define LZO_EXTERN_C   extern

Definition at line 151 of file lzoconf.h.

◆ lzo_intp

#define lzo_intp   lzo_int __LZO_MMODEL *

Definition at line 131 of file lzoconf.h.

◆ LZO_UINT_MAX

#define LZO_UINT_MAX   UINT_MAX

Definition at line 101 of file lzoconf.h.

◆ lzo_uintp

#define lzo_uintp   lzo_uint __LZO_MMODEL *

Definition at line 130 of file lzoconf.h.

◆ LZO_VERSION

#define LZO_VERSION   0x0200

Definition at line 66 of file lzoconf.h.

◆ LZO_VERSION_DATE

#define LZO_VERSION_DATE   "11 Aug 1996"

Definition at line 68 of file lzoconf.h.

◆ LZO_VERSION_STRING

#define LZO_VERSION_STRING   "0.20"

Definition at line 67 of file lzoconf.h.

◆ lzo_voidp

#define lzo_voidp   void __LZO_MMODEL *

Definition at line 128 of file lzoconf.h.

◆ lzo_voidpp

#define lzo_voidpp   lzo_voidp __LZO_MMODEL *

Definition at line 132 of file lzoconf.h.

Typedef Documentation

◆ lzo_compress_t

typedef int __LZO_ENTRY(__LZO_EXPORT * lzo_compress_t) (const lzo_byte *src, lzo_uint src_len, lzo_byte *dst, lzo_uint *dst_len, lzo_voidp wrkmem)

Definition at line 167 of file lzoconf.h.

◆ lzo_decompress_t

typedef int __LZO_ENTRY(__LZO_EXPORT * lzo_decompress_t) (const lzo_byte *src, lzo_uint src_len, lzo_byte *dst, lzo_uint *dst_len, lzo_voidp wrkmem)

Definition at line 172 of file lzoconf.h.

◆ lzo_int

typedef int lzo_int

Definition at line 100 of file lzoconf.h.

◆ lzo_progress_callback_t

typedef void __LZO_ENTRY(__LZO_EXPORT * lzo_progress_callback_t) (lzo_uint, lzo_uint)

Definition at line 179 of file lzoconf.h.

◆ lzo_ptr_t

typedef unsigned long lzo_ptr_t

Definition at line 137 of file lzoconf.h.

◆ lzo_uint

typedef unsigned int lzo_uint

Definition at line 99 of file lzoconf.h.

Function Documentation

◆ lzo_adler32()

lzo_adler32 ( lzo_uint _adler,
const lzo_byte * _buf,
lzo_uint _len )

◆ LZO_EXTERN() [1/3]

LZO_EXTERN ( const char * )

◆ LZO_EXTERN() [2/3]

LZO_EXTERN ( int )

◆ LZO_EXTERN() [3/3]

LZO_EXTERN ( unsigned )

◆ lzo_memcmp()

lzo_memcmp ( const lzo_voidp _s1,
const lzo_voidp _s2,
lzo_uint _len )

◆ lzo_memcpy()

lzo_memcpy ( lzo_voidp _dest,
const lzo_voidp _src,
lzo_uint _len )

◆ lzo_memmove()

lzo_memmove ( lzo_voidp _dest,
const lzo_voidp _src,
lzo_uint _len )

◆ lzo_memset()

lzo_memset ( lzo_voidp _s,
int _c,
lzo_uint _len )