Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
lzoconf.h File Reference
#include <limits.h>
#include <stddef.h>
#include <lzo/lzodefs.h>

Go to the source code of this file.

Data Structures

struct  lzo_callback_t
 
union  lzo_align_t
 
union  __lzo_pu_u
 
union  __lzo_pu32_u
 

Macros

#define LZO_VERSION   0x20a0 /* 2.10 */
 
#define LZO_VERSION_STRING   "2.10"
 
#define LZO_VERSION_DATE   "Mar 01 2017"
 
#define LZO_SIZEOF_LZO_INT   LZO_SIZEOF_LONG
 
#define LZO_TYPEOF_LZO_INT   LZO_TYPEOF_LONG
 
#define LZO_UINT_MAX   ULONG_MAX
 
#define LZO_INT_MAX   LONG_MAX
 
#define LZO_INT_MIN   LONG_MIN
 
#define lzo_xint   lzo_uint32_t
 
#define __LZO_MMODEL   /*empty*/
 
#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_intp   lzo_int __LZO_MMODEL *
 
#define lzo_uintp   lzo_uint __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_int8_tp   lzo_int8_t __LZO_MMODEL *
 
#define lzo_uint8_tp   lzo_uint8_t __LZO_MMODEL *
 
#define lzo_int16_tp   lzo_int16_t __LZO_MMODEL *
 
#define lzo_uint16_tp   lzo_uint16_t __LZO_MMODEL *
 
#define lzo_int32_tp   lzo_int32_t __LZO_MMODEL *
 
#define lzo_uint32_tp   lzo_uint32_t __LZO_MMODEL *
 
#define __LZO_EXTERN_C   extern
 
#define __LZO_CDECL   __lzo_cdecl
 
#define __LZO_EXPORT1   /*empty*/
 
#define __LZO_EXPORT2   /*empty*/
 
#define LZO_PUBLIC(r)
 
#define LZO_EXTERN(r)
 
#define LZO_PRIVATE(r)
 
#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) /* [lzo_alloc_func_t failure] */
 
#define LZO_E_NOT_COMPRESSIBLE   (-3) /* [not used right now] */
 
#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) /* [not used right now] */
 
#define LZO_E_INVALID_ARGUMENT   (-10)
 
#define LZO_E_INVALID_ALIGNMENT   (-11) /* pointer argument is not properly aligned */
 
#define LZO_E_OUTPUT_NOT_CONSUMED   (-12)
 
#define LZO_E_INTERNAL_ERROR   (-99)
 
#define lzo_sizeof_dict_t   ((unsigned)sizeof(lzo_bytep))
 
#define lzo_init()
 
#define LZO_PTR_ALIGN_UP(p, size)
 
#define lzo_byte   unsigned char
 
#define lzo_int32   lzo_int32_t
 
#define lzo_uint32   lzo_uint32_t
 
#define lzo_int32p   lzo_int32_t __LZO_MMODEL *
 
#define lzo_uint32p   lzo_uint32_t __LZO_MMODEL *
 
#define LZO_INT32_MAX   LZO_INT32_C(2147483647)
 
#define LZO_UINT32_MAX   LZO_UINT32_C(4294967295)
 
#define LZO_SIZEOF_LZO_UINT   LZO_SIZEOF_LZO_INT
 

Typedefs

typedef int(__LZO_CDECLlzo_decompress_t) (const lzo_bytep src, lzo_uint src_len, lzo_bytep dst, lzo_uintp dst_len, lzo_voidp wrkmem)
 
typedef int(__LZO_CDECLlzo_optimize_t) (lzo_bytep src, lzo_uint src_len, lzo_bytep dst, lzo_uintp dst_len, lzo_voidp wrkmem)
 
typedef int(__LZO_CDECLlzo_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_CDECLlzo_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 lzo_voidp(__LZO_CDECLlzo_alloc_func_t) (lzo_callback_p self, lzo_uint items, lzo_uint size)
 
typedef void(__LZO_CDECLlzo_free_func_t) (lzo_callback_p self, lzo_voidp ptr)
 
typedef void(__LZO_CDECLlzo_progress_func_t) (lzo_callback_p, lzo_uint, lzo_uint, int)
 

Functions

 LZO_COMPILE_TIME_ASSERT_HEADER (sizeof(lzo_xint) >=sizeof(lzo_uint)) LZO_COMPILE_TIME_ASSERT_HEADER(sizeof(lzo_xint) >
 
 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 a, const lzo_voidp b, lzo_uint len)
 
 lzo_memcpy (lzo_voidp dst, const lzo_voidp src, lzo_uint len)
 
 lzo_memmove (lzo_voidp dst, const lzo_voidp src, lzo_uint len)
 
 lzo_memset (lzo_voidp buf, int c, lzo_uint len)
 
 lzo_adler32 (lzo_uint32_t c, const lzo_bytep buf, lzo_uint len)
 
 lzo_crc32 (lzo_uint32_t c, const lzo_bytep buf, lzo_uint len)
 
 lzo_get_crc32_table (void)
 

Variables

 int
 
lzo_uint size
 

Macro Definition Documentation

◆ __LZO_CDECL

#define __LZO_CDECL   __lzo_cdecl

◆ __LZO_EXPORT1

#define __LZO_EXPORT1   /*empty*/

◆ __LZO_EXPORT2

#define __LZO_EXPORT2   /*empty*/

◆ __LZO_EXTERN_C

#define __LZO_EXTERN_C   extern

◆ __LZO_MMODEL

#define __LZO_MMODEL   /*empty*/

◆ lzo_byte

#define lzo_byte   unsigned char

◆ lzo_bytep

#define lzo_bytep   unsigned char __LZO_MMODEL *

◆ lzo_bytepp

#define lzo_bytepp   lzo_bytep __LZO_MMODEL *

◆ lzo_callback_p

#define lzo_callback_p   lzo_callback_t __LZO_MMODEL *

◆ lzo_charp

#define lzo_charp   char __LZO_MMODEL *

◆ LZO_E_EOF_NOT_FOUND

#define LZO_E_EOF_NOT_FOUND   (-7)

◆ LZO_E_ERROR

#define LZO_E_ERROR   (-1)

◆ LZO_E_INPUT_NOT_CONSUMED

#define LZO_E_INPUT_NOT_CONSUMED   (-8)

◆ LZO_E_INPUT_OVERRUN

#define LZO_E_INPUT_OVERRUN   (-4)

◆ LZO_E_INTERNAL_ERROR

#define LZO_E_INTERNAL_ERROR   (-99)

◆ LZO_E_INVALID_ALIGNMENT

#define LZO_E_INVALID_ALIGNMENT   (-11) /* pointer argument is not properly aligned */

◆ LZO_E_INVALID_ARGUMENT

#define LZO_E_INVALID_ARGUMENT   (-10)

◆ LZO_E_LOOKBEHIND_OVERRUN

#define LZO_E_LOOKBEHIND_OVERRUN   (-6)

◆ LZO_E_NOT_COMPRESSIBLE

#define LZO_E_NOT_COMPRESSIBLE   (-3) /* [not used right now] */

◆ LZO_E_NOT_YET_IMPLEMENTED

#define LZO_E_NOT_YET_IMPLEMENTED   (-9) /* [not used right now] */

◆ LZO_E_OK

#define LZO_E_OK   0

◆ LZO_E_OUT_OF_MEMORY

#define LZO_E_OUT_OF_MEMORY   (-2) /* [lzo_alloc_func_t failure] */

◆ LZO_E_OUTPUT_NOT_CONSUMED

#define LZO_E_OUTPUT_NOT_CONSUMED   (-12)

◆ LZO_E_OUTPUT_OVERRUN

#define LZO_E_OUTPUT_OVERRUN   (-5)

◆ LZO_EXTERN

#define LZO_EXTERN ( r)
Value:
#define LZO_PUBLIC(r)
#define __LZO_EXTERN_C

◆ lzo_init

#define lzo_init ( )
Value:
__lzo_init_v2(LZO_VERSION,(int)sizeof(short),(int)sizeof(int),\
(int)sizeof(long),(int)sizeof(lzo_uint32_t),(int)sizeof(lzo_uint),\
(int)lzo_sizeof_dict_t,(int)sizeof(char *),(int)sizeof(lzo_voidp),\
(int)sizeof(lzo_callback_t))
Definition lzoconf.h:285
#define LZO_VERSION
Definition lzoconf.h:32
#define lzo_voidp
unsigned long lzo_uint
Definition lzoconf.h:116
#define lzo_sizeof_dict_t
Definition lzoconf.h:327
__lzo_init_v2(unsigned v, int s1, int s2, int s3, int s4, int s5, int s6, int s7, int s8, int s9)
Definition minilzo.c:4549

◆ lzo_int16_tp

#define lzo_int16_tp   lzo_int16_t __LZO_MMODEL *

◆ lzo_int32

#define lzo_int32   lzo_int32_t

◆ LZO_INT32_MAX

#define LZO_INT32_MAX   LZO_INT32_C(2147483647)

◆ lzo_int32_tp

#define lzo_int32_tp   lzo_int32_t __LZO_MMODEL *

◆ lzo_int32p

#define lzo_int32p   lzo_int32_t __LZO_MMODEL *

◆ lzo_int8_tp

#define lzo_int8_tp   lzo_int8_t __LZO_MMODEL *

◆ LZO_INT_MAX

#define LZO_INT_MAX   LONG_MAX

◆ LZO_INT_MIN

#define LZO_INT_MIN   LONG_MIN

◆ lzo_intp

#define lzo_intp   lzo_int __LZO_MMODEL *

◆ LZO_PRIVATE

#define LZO_PRIVATE ( r)
Value:
static r __LZO_CDECL
#define __LZO_CDECL

◆ LZO_PTR_ALIGN_UP

#define LZO_PTR_ALIGN_UP ( p,
size )
Value:
((p) + (lzo_uint) __lzo_align_gap((const lzo_voidp)(p),(lzo_uint)(size)))
lzo_uint size
Definition lzoconf.h:378
__lzo_align_gap(const lzo_voidp ptr, lzo_uint size)
Definition minilzo.c:4191

◆ LZO_PUBLIC

#define LZO_PUBLIC ( r)
Value:
#define __LZO_EXPORT1
#define __LZO_EXPORT2

◆ lzo_shortp

#define lzo_shortp   short __LZO_MMODEL *

◆ lzo_sizeof_dict_t

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

◆ LZO_SIZEOF_LZO_INT

#define LZO_SIZEOF_LZO_INT   LZO_SIZEOF_LONG

◆ LZO_SIZEOF_LZO_UINT

#define LZO_SIZEOF_LZO_UINT   LZO_SIZEOF_LZO_INT

◆ LZO_TYPEOF_LZO_INT

#define LZO_TYPEOF_LZO_INT   LZO_TYPEOF_LONG

◆ lzo_uint16_tp

#define lzo_uint16_tp   lzo_uint16_t __LZO_MMODEL *

◆ lzo_uint32

#define lzo_uint32   lzo_uint32_t

◆ LZO_UINT32_MAX

#define LZO_UINT32_MAX   LZO_UINT32_C(4294967295)

◆ lzo_uint32_tp

#define lzo_uint32_tp   lzo_uint32_t __LZO_MMODEL *

◆ lzo_uint32p

#define lzo_uint32p   lzo_uint32_t __LZO_MMODEL *

◆ lzo_uint8_tp

#define lzo_uint8_tp   lzo_uint8_t __LZO_MMODEL *

◆ LZO_UINT_MAX

#define LZO_UINT_MAX   ULONG_MAX

◆ lzo_uintp

#define lzo_uintp   lzo_uint __LZO_MMODEL *

◆ lzo_ushortp

#define lzo_ushortp   unsigned short __LZO_MMODEL *

◆ LZO_VERSION

#define LZO_VERSION   0x20a0 /* 2.10 */

◆ LZO_VERSION_DATE

#define LZO_VERSION_DATE   "Mar 01 2017"

◆ LZO_VERSION_STRING

#define LZO_VERSION_STRING   "2.10"

◆ lzo_voidp

#define lzo_voidp   void __LZO_MMODEL *

◆ lzo_voidpp

#define lzo_voidpp   lzo_voidp __LZO_MMODEL *

◆ lzo_xint

#define lzo_xint   lzo_uint32_t

◆ lzo_xintp

#define lzo_xintp   lzo_xint __LZO_MMODEL *

Typedef Documentation

◆ lzo_alloc_func_t

typedef lzo_voidp(__LZO_CDECL * lzo_alloc_func_t) (lzo_callback_p self, lzo_uint items, lzo_uint size)

◆ lzo_compress_dict_t

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)

◆ lzo_decompress_dict_t

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)

◆ lzo_decompress_t

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

◆ lzo_free_func_t

typedef void(__LZO_CDECL * lzo_free_func_t) (lzo_callback_p self, lzo_voidp ptr)

◆ lzo_optimize_t

typedef int(__LZO_CDECL * lzo_optimize_t) (lzo_bytep src, lzo_uint src_len, lzo_bytep dst, lzo_uintp dst_len, lzo_voidp wrkmem)

◆ lzo_progress_func_t

typedef void(__LZO_CDECL * lzo_progress_func_t) (lzo_callback_p, lzo_uint, lzo_uint, int)

Function Documentation

◆ lzo_adler32()

lzo_adler32 ( lzo_uint32_t c,
const lzo_bytep buf,
lzo_uint len )

◆ LZO_COMPILE_TIME_ASSERT_HEADER()

LZO_COMPILE_TIME_ASSERT_HEADER ( sizeof(lzo_xint) >=sizeof(lzo_uint) )

◆ lzo_crc32()

lzo_crc32 ( lzo_uint32_t c,
const lzo_bytep buf,
lzo_uint len )

◆ LZO_EXTERN() [1/4]

LZO_EXTERN ( const char * )

◆ LZO_EXTERN() [2/4]

LZO_EXTERN ( const lzo_charp )

◆ LZO_EXTERN() [3/4]

LZO_EXTERN ( int )

◆ LZO_EXTERN() [4/4]

LZO_EXTERN ( unsigned )

◆ lzo_get_crc32_table()

lzo_get_crc32_table ( void )

◆ lzo_memcmp()

lzo_memcmp ( const lzo_voidp a,
const lzo_voidp b,
lzo_uint len )

◆ lzo_memcpy()

lzo_memcpy ( lzo_voidp dst,
const lzo_voidp src,
lzo_uint len )

◆ lzo_memmove()

lzo_memmove ( lzo_voidp dst,
const lzo_voidp src,
lzo_uint len )

◆ lzo_memset()

lzo_memset ( lzo_voidp buf,
int c,
lzo_uint len )

Variable Documentation

◆ int

int

◆ size

lzo_uint size