Go to the documentation of this file.
17 #define LZO1X_MEM_COMPRESS (16384 * sizeof(unsigned char *))
18 #define LZO1X_1_MEM_COMPRESS LZO1X_MEM_COMPRESS
20 #define lzo1x_worst_compress(x) ((x) + ((x) / 16) + 64 + 3)
24 unsigned char *
dst,
size_t *dst_len,
void *wrkmem);
28 unsigned char *
dst,
size_t *dst_len);
34 #define LZO_E_ERROR (-1)
35 #define LZO_E_OUT_OF_MEMORY (-2)
36 #define LZO_E_NOT_COMPRESSIBLE (-3)
37 #define LZO_E_INPUT_OVERRUN (-4)
38 #define LZO_E_OUTPUT_OVERRUN (-5)
39 #define LZO_E_LOOKBEHIND_OVERRUN (-6)
40 #define LZO_E_EOF_NOT_FOUND (-7)
41 #define LZO_E_INPUT_NOT_CONSUMED (-8)
42 #define LZO_E_NOT_YET_IMPLEMENTED (-9)