DataMuseum.dk

Presents historical artifacts from the history of:

ICL Comet 32

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about ICL Comet 32

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦4bf75c0c2⟧ TextFile

    Length: 544 (0x220)
    Types: TextFile
    Notes: UNIX file
    Names: »dbm.h«

Derivation

└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
    └─⟦28c352965⟧ »/a« UNIX Filesystem
        └─⟦this⟧ »usr/include/dbm.h« 

TextFile

/*
 * @(#)dbm.h	1.3	8/31/83
 * @(#)Copyright (C) 1983 by National Semiconductor Corp.
 */

#define	PBLKSIZ	1024
#define	DBLKSIZ	4096
#define	BYTESIZ	8
#define	NULL	((char *) 0)

static long	bitno;
static long	maxbno;
static long	blkno;
static long	hmask;

static char	pagbuf[PBLKSIZ];
static char	dirbuf[DBLKSIZ];

static int	dirf;
static int	pagf;
static int	dbrdonly;

typedef	struct
{
	char	*dptr;
	int	dsize;
} datum;

datum	fetch();
datum	makdatum();
datum	firstkey();
datum	nextkey();
datum	firsthash();
long	calchash();
long	hashinc();