home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
C
/
LZW4C11
/
LZW4C.H
< prev
next >
Wrap
Text File
|
1992-11-08
|
460b
|
25 lines
/* Prototypes for LZW4C */
#ifndef FILE
#include <stdio.h>
#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