home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / perl560.zip / ext / SDBM_File / sdbm / tune.h < prev    next >
C/C++ Source or Header  |  1999-07-20  |  441b  |  24 lines

  1. /*
  2.  * sdbm - ndbm work-alike hashed database library
  3.  * tuning and portability constructs [not nearly enough]
  4.  * author: oz@nexus.yorku.ca
  5.  */
  6.  
  7. #define BYTESIZ        8
  8.  
  9. /*
  10.  * important tuning parms (hah)
  11.  */
  12.  
  13. #define SEEDUPS            /* always detect duplicates */
  14. #define BADMESS            /* generate a message for worst case:
  15.                    cannot make room after SPLTMAX splits */
  16. /*
  17.  * misc
  18.  */
  19. #ifdef DEBUG
  20. #define debug(x)    printf x
  21. #else
  22. #define debug(x)
  23. #endif
  24.