home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
CLIPPER
/
RCMP20
/
RCMPLIB.CH
< prev
next >
Wrap
Text File
|
1993-09-20
|
2KB
|
40 lines
/***
* RCmpLib.ch
*
* Header file for the Clipper Library RCmpLib v2.0
*
* Copyright (c) 1993 Rolf van Gelder
*
* Date: 20/09/93
*/
*==========================================================================
* Return codes for R_Compress () & R_DeComp ()
*==========================================================================
#define CP_OKAY 0 && Okay
#define CP_INVALID_PARM 1 && Invalid parameter passed
#define CP_OPEN_INPUT 2 && Error opening input file
#define CP_NOT_RCMPLIB 3 && Not compressed by RCmpLib
#define CP_WRONG_VERSION 4 && Wrong version of RCmpLib
#define CP_CREATE_OUTPUT 5 && Error CREATING output file
#define CP_READ_INPUT 6 && Error READING input file
#define CP_WRITE_OUTPUT 7 && Error WRITING output file
#define CP_CLOSE_INPUT 8 && Error CLOSING input file
#define CP_CLOSE_OUTPUT 9 && Error CLOSING output file
#define CP_MEMORY_ERROR 10 && Not enough memory
#define CP_ALLOCATE_ERROR 11 && Error allocating buffer
#define CP_ERRMSG { 'Invalid parameter passed',;
'Error OPENING input file',;
'Not compressed by RCmpLib',;
'Wrong version of RCmpLib',;
'Error CREATING output file',;
'Error READING input file',;
'Error WRITING output file',;
'Error CLOSING input file',;
'Error CLOSING output file',;
'Not enough memory',;
'Error allocating buffer' }
*
* Eof RCmpLib.CH