BSD 4_2 development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Thu, 3 Nov 1983 04:54:33 +0000 (20:54 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Thu, 3 Nov 1983 04:54:33 +0000 (20:54 -0800)
Work on file usr/include/dbm.h

Synthesized-from: CSRG/cd1/4.2

usr/include/dbm.h [new file with mode: 0755]

diff --git a/usr/include/dbm.h b/usr/include/dbm.h
new file mode 100755 (executable)
index 0000000..82f5a89
--- /dev/null
@@ -0,0 +1,33 @@
+/*     dbm.h   4.1     83/06/27        */
+
+#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();
+