home *** CD-ROM | disk | FTP | other *** search
/ Frostbyte's 1980s DOS Shareware Collection / floppyshareware.zip / floppyshareware / DOOG / CBASE09.ZIP / CBASE.ZIP / CBASE_.H next >
Text File  |  1989-08-31  |  670b  |  31 lines

  1. /*    Copyright (c) 1989 Citadel    */
  2. /*       All Rights Reserved        */
  3.  
  4. /* #ident    "cbase_.h    1.1 - 89/08/31" */
  5.  
  6. #ifndef CBASE_H_    /* prevent multiple includes */
  7. #define CBASE_H_
  8.  
  9. #define DEBUG
  10.  
  11. #include <bool.h>
  12. #include <stdio.h>
  13. #include "cbase.h"
  14.  
  15. #define CBTYPECNT        ((size_t)14)
  16.  
  17. bool    cb_valid(/* cbase_t cbp */);
  18. bool    cb_fdlvalid(/* cbfield_t *fields, size_t fldcnt, size_t recsize */);
  19.  
  20. /* cbase open types */
  21. #define CB_READ    ("r")
  22. #define CB_RDWR    ("r+")
  23.  
  24. #ifdef DEBUG
  25. #define    CBEPRINT    {fprintf(stderr, "cbase error line %d of %s. errno = %d.\n", __LINE__, __FILE__, errno);}
  26. #else
  27. #define CBEPRINT
  28. #endif
  29.  
  30. #endif        /* #ifndef CBASE_H_ */
  31.