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 >
Text File  |  1993-09-20  |  2KB  |  40 lines

  1. /***
  2. *    RCmpLib.ch
  3. *
  4. *    Header file for the Clipper Library RCmpLib v2.0
  5. *
  6. *    Copyright (c) 1993  Rolf van Gelder
  7. *
  8. *    Date: 20/09/93
  9. */
  10.  
  11. *==========================================================================
  12. *    Return codes for R_Compress () & R_DeComp ()
  13. *==========================================================================
  14.  
  15. #define    CP_OKAY            0    && Okay
  16. #define    CP_INVALID_PARM        1    && Invalid parameter passed
  17. #define    CP_OPEN_INPUT        2    && Error opening  input  file
  18. #define    CP_NOT_RCMPLIB        3    && Not compressed by RCmpLib
  19. #define    CP_WRONG_VERSION    4    && Wrong version of RCmpLib
  20. #define    CP_CREATE_OUTPUT    5    && Error CREATING output file
  21. #define    CP_READ_INPUT        6    && Error READING  input  file
  22. #define    CP_WRITE_OUTPUT        7    && Error WRITING  output file
  23. #define    CP_CLOSE_INPUT        8    && Error CLOSING  input  file
  24. #define    CP_CLOSE_OUTPUT        9    && Error CLOSING  output file
  25. #define    CP_MEMORY_ERROR        10    && Not enough memory
  26. #define    CP_ALLOCATE_ERROR    11    && Error allocating buffer
  27.  
  28. #define    CP_ERRMSG    { 'Invalid parameter passed',;
  29.               'Error OPENING input file',;
  30.                           'Not compressed by RCmpLib',;
  31.                           'Wrong version of RCmpLib',;
  32.                           'Error CREATING output file',;
  33.                           'Error READING input file',;
  34.                           'Error WRITING output file',;
  35.                           'Error CLOSING input file',;
  36.                           'Error CLOSING output file',;
  37.                           'Not enough memory',;
  38.                   'Error allocating buffer' }
  39. *
  40. * Eof RCmpLib.CH