35 #ifndef __MINILZO_H_INCLUDED 36 #define __MINILZO_H_INCLUDED 1 38 #define MINILZO_VERSION 0x20a0 40 #if defined(__LZOCONF_H_INCLUDED) 41 # error "you cannot use both LZO and miniLZO" 45 #ifdef MINILZO_HAVE_CONFIG_H 51 #ifndef __LZODEFS_H_INCLUDED 54 #undef LZO_HAVE_CONFIG_H 57 #if !defined(LZO_VERSION) || (LZO_VERSION != MINILZO_VERSION) 58 # error "version mismatch in header files" 75 #define LZO1X_MEM_COMPRESS LZO1X_1_MEM_COMPRESS 76 #define LZO1X_1_MEM_COMPRESS ((lzo_uint32_t) (16384L * lzo_sizeof_dict_t)) 77 #define LZO1X_MEM_DECOMPRESS (0)
lzo1x_decompress(const lzo_bytep src, lzo_uint src_len, lzo_bytep dst, lzo_uintp dst_len, lzo_voidp wrkmem)
lzo_uint lzo_bytep lzo_uintp dst_len
lzo1x_1_compress(const lzo_bytep src, lzo_uint src_len, lzo_bytep dst, lzo_uintp dst_len, lzo_voidp wrkmem)
lzo1x_decompress_safe(const lzo_bytep src, lzo_uint src_len, lzo_bytep dst, lzo_uintp dst_len, lzo_voidp wrkmem)
lzo_uint lzo_bytep lzo_uintp lzo_voidp wrkmem
typedef lzo_voidp(__LZO_CDECL *lzo_alloc_func_t)(lzo_callback_p self