Bell 32V development
[unix-history] / usr / src / libdbm / dbm.h
CommitLineData
589608b4
TL
1#define PBLKSIZ 512
2#define DBLKSIZ 4096
3#define BYTESIZ 8
4#define NULL ((char *) 0)
5
6long bitno;
7long maxbno;
8long blkno;
9long hmask;
10
11char pagbuf[PBLKSIZ];
12char dirbuf[DBLKSIZ];
13
14int dirf;
15int pagf;
16
17typedef struct
18{
19 char *dptr;
20 int dsize;
21} datum;
22
23datum fetch();
24datum makdatum();
25datum firstkey();
26datum nextkey();
27datum firsthash();
28long calchash();
29long hashinc();
30