126947Sbloom /* 238116Sbostic * Copyright (c) 1983 The Regents of the University of California. 338116Sbostic * All rights reserved. 426947Sbloom * 538116Sbostic * Redistribution and use in source and binary forms are permitted 638116Sbostic * provided that the above copyright notice and this paragraph are 738116Sbostic * duplicated in all such forms and that any documentation, 838116Sbostic * advertising materials, and other materials related to such 938116Sbostic * distribution and use acknowledge that the software was developed 1038116Sbostic * by the University of California, Berkeley. The name of the 1138116Sbostic * University may not be used to endorse or promote products derived 1238116Sbostic * from this software without specific prior written permission. 1338116Sbostic * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 1438116Sbostic * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 1538116Sbostic * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 1638116Sbostic * 17*38490Sjak * @(#)dbm.h 5.3 (Berkeley) 07/25/89 1826947Sbloom */ 1912182Ssam 2026947Sbloom #ifndef NULL 2126947Sbloom /* 2226947Sbloom * this is lunacy, we no longer use it (and never should have 2326947Sbloom * unconditionally defined it), but, this whole file is for 2426947Sbloom * backwards compatability - someone may rely on this. 2526947Sbloom */ 2612182Ssam #define NULL ((char *) 0) 2726947Sbloom #endif 2812182Ssam 29*38490Sjak /* 30*38490Sjak * Pre-define the page block size to be the old dbm size. 31*38490Sjak */ 32*38490Sjak 33*38490Sjak #define PBLKSIZ 1024 34*38490Sjak 3526947Sbloom #include <ndbm.h> 3612182Ssam 3712182Ssam datum fetch(); 3812182Ssam datum firstkey(); 3912182Ssam datum nextkey(); 40