SYN SYN
[p5sagit/p5-mst-13.2.git] / ext / SDBM_File / sdbm / dbm.h
1 /*
2  * Copyright (c) 1983 The Regents of the University of California.
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms are permitted
6  * provided that the above copyright notice and this notice are
7  * duplicated in all such forms.
8  *
9  * [additional clause stricken -- see below]
10  *
11  * The name of the University may not be used to endorse or promote 
12  * products derived from this software without specific prior written 
13  * permission.  THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY 
14  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE 
15  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
16  * PURPOSE.
17  * 
18  * This notice previously contained the additional clause:
19  *
20  *   and that any documentation, advertising materials, and other 
21  *   materials related to such distribution and use acknowledge that 
22  *   the software was developed by the University of California, 
23  *   Berkeley.
24  *
25  * Pursuant to the licensing change made by the Office of Technology
26  * Licensing of the University of California, Berkeley on July 22, 
27  * 1999 and documented in:
28  *
29  *   ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
30  *
31  * this clause has been stricken and no longer is applicable to this
32  * software.
33  *
34  *    @(#)dbm.h    5.2 (Berkeley) 5/24/89
35  */
36
37 #ifndef NULL
38 /*
39  * this is lunacy, we no longer use it (and never should have
40  * unconditionally defined it), but, this whole file is for
41  * backwards compatability - someone may rely on this.
42  */
43 #define    NULL    ((char *) 0)
44 #endif
45
46 #ifdef I_NDBM
47 # include <ndbm.h>
48 #endif
49
50 datum    fetch();
51 datum    firstkey();
52 datum    nextkey();