1: #define PBLKSIZ 512 2: #define DBLKSIZ 8192 3: #define BYTESIZ 8 4: #define NULL ((char *) 0) 5: 6: long bitno; 7: long maxbno; 8: long blkno; 9: long hmask; 10: 11: char pagbuf[PBLKSIZ]; 12: char dirbuf[DBLKSIZ]; 13: 14: int dirf; 15: int pagf; 16: 17: typedef struct 18: { 19: char *dptr; 20: int dsize; 21: } datum; 22: 23: datum fetch(); 24: datum makdatum(); 25: datum firstkey(); 26: datum nextkey(); 27: datum firsthash(); 28: long calchash(); 29: long hashinc();