/* Prototypes for LZW4C */ #ifndef FILE #include #endif #if 1 int InitLZW(char *(*Alloc)() ); int TermLZW(int (*Free)() ); int Compress(int (*Reader)(), int (*Writer)()); int Expand(int (*Reader)(), int (*Writer)()); #else int InitLZW(); int TermLZW(); int Compress(); int Expand(); #endif /* error codes */ #define EXPANSION_ERROR -1 #define CANNOT_ALLOCATE -2 #define INTERNAL_ERROR -3 #define NOT_INITIALIZED -4