manual page distributed with 4.2BSD
[unix-history] / usr / src / old / libndbm / dbm.h
/* dbm.h 4.1 83/05/03 */
#define PBLKSIZ 1024
#define DBLKSIZ 4096
#define BYTESIZ 8
#define NULL ((char *) 0)
long bitno;
long maxbno;
long blkno;
long hmask;
char pagbuf[PBLKSIZ];
char dirbuf[DBLKSIZ];
int dirf;
int pagf;
int dbrdonly;
typedef struct
{
char *dptr;
int dsize;
} datum;
datum fetch();
datum makdatum();
datum firstkey();
datum nextkey();
datum firsthash();
long calchash();
long hashinc();