1 /************************************************************************/
\r
2 /* File Name : implode.h */
\r
3 /* Creator : ax.minaduki@gmail.com */
\r
4 /* Create Time : May 23rd, 2010 */
\r
5 /* Module : Lawine library */
\r
6 /* Descript : PKWare DCL implode compression API definition */
\r
7 /************************************************************************/
\r
9 #ifndef __SD_LAWINE_COMPRESS_IMPLODE_H__
\r
10 #define __SD_LAWINE_COMPRESS_IMPLODE_H__
\r
12 /************************************************************************/
\r
14 #include "common.h" /* changed from <common.h> by Tony Lewis */
\r
16 /************************************************************************/
\r
18 #define IMPLODE_BINARY 0 /* Binary compression */
\r
19 #define IMPLODE_ASCII 1 /* ASCII compression */
\r
21 #define IMPLODE_DICT_1K 4 /* Dictionary size is 1KB */
\r
22 #define IMPLODE_DICT_2K 5 /* Dictionary size is 2KB */
\r
23 #define IMPLODE_DICT_4K 6 /* Dictionary size is 4KB */
\r
25 /************************************************************************/
\r
27 CAPI extern BOOL implode(INT type, INT dict, VCPTR src, UINT src_size, VPTR dest, UINT *dest_size);
\r
28 CAPI extern BOOL explode(VCPTR src, UINT src_size, VPTR dest, UINT *dest_size);
\r
30 /************************************************************************/
\r
32 #endif /* __SD_LAWINE_COMPRESS_IMPLODE_H__ */
\r