home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / zfamily.zip / zfamily / ZCVFUNCS / SAMPLE / ZCVDEFS.H < prev    next >
Text File  |  1993-09-24  |  2KB  |  42 lines

  1. /*
  2. ** /----------------------------------------------------------------------\
  3. ** |             IBM Z Family Reusable Libraries/2 (5641-504)             |
  4. ** |----------------------------------------------------------------------|
  5. ** | (C) Copyright International Business Machines Corporation 1993, 1994 |
  6. ** \----------------------------------------------------------------------/
  7. **
  8. **  Header   : ZCVDEFS.H
  9. **  Author   : Dario de Judicibus (DEJUDICI at ROMEPPC)
  10. **  Created  : 27 Jul 1992
  11. **  Updated  : 24 Sep 1993
  12. **  Version  : 2.12
  13. **  Content  : Public Definitions and Macros
  14. **
  15. */
  16.  #ifndef zcvDEFINITIONS
  17.  #define zcvDEFINITIONS 0
  18.  
  19. /*
  20. **  Global Values
  21. */
  22.  #define  zcvZPREFIX  "ZCV"
  23.  #define  zcvDLLNAME  "FMZCVFUN" // The name of THIS library
  24.  
  25.  #define  zcvCCSIDDIGITS   5     // Number of digits for CCSIDs
  26.  #define  zcvNULLTERM     -1     // Stream is really a null terminated string
  27.  #define  zcvNOTPREPARED   0     // Codepage wasn't prepared
  28.  #define  zcvLISTSIZE     48     // Size of arrays to receive the CCSIDs' list
  29.  #define  zcvENDOFLIST  (zcvCCSID)0  // End of CCSID's list
  30.  
  31. /*
  32. **  File I/O values
  33. */
  34.  #define  zcvBUFSIZE            1024 // Buffer size
  35.  #define  zcvCREATE           0x0000 // Create the file (default)
  36.  #define  zcvFAILIFNEW        0x0001 // Fail if file doesn't exist
  37.  #define  zcvREPLACE          0x0000 // Replace an existing file (default)
  38.  #define  zcvAPPEND           0x0010 // Append to an existing file
  39.  #define  zcvFAILIFEXISTS     0x0020 // Fail if file exists
  40.  
  41.  #endif
  42.