File indexing completed on 2025-02-21 10:04:56
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029 #ifndef __LZO1Y_H_INCLUDED
0030 #define __LZO1Y_H_INCLUDED 1
0031
0032 #ifndef __LZOCONF_H_INCLUDED
0033 #include <lzo/lzoconf.h>
0034 #endif
0035
0036 #ifdef __cplusplus
0037 extern "C" {
0038 #endif
0039
0040
0041
0042
0043
0044
0045
0046
0047
0048
0049 #define LZO1Y_MEM_COMPRESS ((lzo_uint32_t) (16384L * lzo_sizeof_dict_t))
0050 #define LZO1Y_MEM_DECOMPRESS (0)
0051 #define LZO1Y_MEM_OPTIMIZE (0)
0052
0053
0054
0055 LZO_EXTERN(int)
0056 lzo1y_decompress ( const lzo_bytep src, lzo_uint src_len,
0057 lzo_bytep dst, lzo_uintp dst_len,
0058 lzo_voidp wrkmem );
0059
0060
0061 LZO_EXTERN(int)
0062 lzo1y_decompress_safe ( const lzo_bytep src, lzo_uint src_len,
0063 lzo_bytep dst, lzo_uintp dst_len,
0064 lzo_voidp wrkmem );
0065
0066
0067
0068
0069
0070
0071 LZO_EXTERN(int)
0072 lzo1y_1_compress ( const lzo_bytep src, lzo_uint src_len,
0073 lzo_bytep dst, lzo_uintp dst_len,
0074 lzo_voidp wrkmem );
0075
0076
0077
0078
0079
0080
0081 #define LZO1Y_999_MEM_COMPRESS ((lzo_uint32_t) (14 * 16384L * sizeof(short)))
0082
0083 LZO_EXTERN(int)
0084 lzo1y_999_compress ( const lzo_bytep src, lzo_uint src_len,
0085 lzo_bytep dst, lzo_uintp dst_len,
0086 lzo_voidp wrkmem );
0087
0088
0089
0090
0091
0092
0093
0094 LZO_EXTERN(int)
0095 lzo1y_999_compress_dict ( const lzo_bytep src, lzo_uint src_len,
0096 lzo_bytep dst, lzo_uintp dst_len,
0097 lzo_voidp wrkmem,
0098 const lzo_bytep dict, lzo_uint dict_len );
0099
0100 LZO_EXTERN(int)
0101 lzo1y_999_compress_level ( const lzo_bytep src, lzo_uint src_len,
0102 lzo_bytep dst, lzo_uintp dst_len,
0103 lzo_voidp wrkmem,
0104 const lzo_bytep dict, lzo_uint dict_len,
0105 lzo_callback_p cb,
0106 int compression_level );
0107
0108 LZO_EXTERN(int)
0109 lzo1y_decompress_dict_safe ( const lzo_bytep src, lzo_uint src_len,
0110 lzo_bytep dst, lzo_uintp dst_len,
0111 lzo_voidp wrkmem ,
0112 const lzo_bytep dict, lzo_uint dict_len );
0113
0114
0115
0116
0117
0118
0119 LZO_EXTERN(int)
0120 lzo1y_optimize ( lzo_bytep src, lzo_uint src_len,
0121 lzo_bytep dst, lzo_uintp dst_len,
0122 lzo_voidp wrkmem );
0123
0124
0125
0126 #ifdef __cplusplus
0127 }
0128 #endif
0129
0130 #endif
0131
0132
0133