Add decompression support using the implode library
[installshield_z.git] / implode.h
diff --git a/implode.h b/implode.h
new file mode 100755 (executable)
index 0000000..1ef2f29
--- /dev/null
+++ b/implode.h
@@ -0,0 +1,32 @@
+/************************************************************************/\r
+/* File Name   : implode.h                                              */\r
+/* Creator     : ax.minaduki@gmail.com                                  */\r
+/* Create Time : May 23rd, 2010                                         */\r
+/* Module      : Lawine library                                         */\r
+/* Descript    : PKWare DCL implode compression API definition          */\r
+/************************************************************************/\r
+\r
+#ifndef __SD_LAWINE_COMPRESS_IMPLODE_H__\r
+#define __SD_LAWINE_COMPRESS_IMPLODE_H__\r
+\r
+/************************************************************************/\r
+\r
+#include "common.h" /* changed from <common.h> by Tony Lewis */\r
+\r
+/************************************************************************/\r
+\r
+#define IMPLODE_BINARY         0                       /* Binary compression */\r
+#define IMPLODE_ASCII          1                       /* ASCII compression */\r
+\r
+#define IMPLODE_DICT_1K                4                       /* Dictionary size is 1KB */\r
+#define IMPLODE_DICT_2K                5                       /* Dictionary size is 2KB */\r
+#define IMPLODE_DICT_4K                6                       /* Dictionary size is 4KB */\r
+\r
+/************************************************************************/\r
+\r
+CAPI extern BOOL implode(INT type, INT dict, VCPTR src, UINT src_size, VPTR dest, UINT *dest_size);\r
+CAPI extern BOOL explode(VCPTR src, UINT src_size, VPTR dest, UINT *dest_size);\r
+\r
+/************************************************************************/\r
+\r
+#endif /* __SD_LAWINE_COMPRESS_IMPLODE_H__ */\r