#ifndef __LZW_H__ #define __LZW_H__ //------------------------------------------------------------------------------ #include <stdio.h> #include <stdlib.h> #include <windows.h> #include <memory.h> //------------------------------------------------------------------------------ #define LZW_BASE 0x102// The code base #define CODE_LEN 12 // Max code length #define TABLE_LEN 4099 // It must be PRime number and bigger than 2^CODE_LEN=4096. // SUCh as 5051 is also ok. #define BUFFERSIZE 1024 //------------------------------------------------------------------------------ typedef struct { HANDLE h_sour; // Source file handle. HANDLE h_dest; // Destination file handle.