blob: 7ed7dda9b4d0bd9f63abddf7dfa701c32bd7c6cc [file] [log] [blame]
/*
* sdbm - ndbm work-alike hashed database library
* tuning and portability constructs [not nearly enough]
* author: oz@nexus.yorku.ca
*/
#define BYTESIZ 8
/*
* important tuning parms (hah)
*/
#define SEEDUPS /* always detect duplicates */
#define BADMESS /* generate a message for worst case:
cannot make room after SPLTMAX splits */
/*
* misc
*/
#ifdef DEBUG
#define debug(x) printf x
#else
#define debug(x)
#endif
int sdbm_fd_lock(int fd, int readonly);
int sdbm_fd_unlock(int fd);