This is dbm.h in view mode; [Download] [Up]
/* * Copyright (c) 1980 Regents of the University of California. * All rights reserved. The Berkeley software License Agreement * specifies the terms and conditions for redistribution. * * @(#)dbm.h 5.1 (Berkeley) 3/27/86 */ #ifndef NULL /* * this is lunacy, we no longer use it (and never should have * unconditionally defined it), but, this whole file is for * backwards compatability - someone may rely on this. */ #undef NULL #define NULL ((char *) 0) #endif #import <ndbm.h> #ifdef __STRICT_BSD__ datum fetch(); datum firstkey(); datum nextkey(); #else int dbminit(char *file); int dbmclose(void); datum fetch(datum key); datum firstkey(void); datum nextkey(datum key); int store (datum key, datum content); #ifndef __cplusplus int delete (datum key); #endif #endif #if 0 datum makdatum(); datum firsthash(); long calchash(); long hashinc(); #endif
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.