date and time created 83/08/05 13:34:37 by sam
[unix-history] / usr / src / old / libndbm / dbm.h
CommitLineData
8d82c25e
SL
1/* dbm.h 4.1 83/05/03 */
2
3#define PBLKSIZ 1024
4#define DBLKSIZ 4096
5#define BYTESIZ 8
6#define NULL ((char *) 0)
7
8long bitno;
9long maxbno;
10long blkno;
11long hmask;
12
13char pagbuf[PBLKSIZ];
14char dirbuf[DBLKSIZ];
15
16int dirf;
17int pagf;
18int dbrdonly;
19
20typedef struct
21{
22 char *dptr;
23 int dsize;
24} datum;
25
26datum fetch();
27datum makdatum();
28datum firstkey();
29datum nextkey();
30datum firsthash();
31long calchash();
32long hashinc();
33