File:  [MW Coherent from dump] / coherent / d / bin / dump / old / discbuf.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:39 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

/*
 * This is the format of a
 * disc buffer as managed by the
 * user level cache manager.
 */
typedef	struct	DISCBUF
{
	struct	DISCBUF	*db_fp;		/* Link */
	int	db_refc;		/* Reference count */
	long	db_block;		/* Block */
	int	db_flag;		/* Some flags */
	char	db_data[BUFSIZ];	/* Data block */
} 	DISCBUF;

#define	DB_DIRT	01			/* Dirty buffer */
#define	DB_OK	02			/* Valid buffer */

extern DISCBUF	*dbread();
extern DISCBUF	*dbgrab();
extern DISCBUF *dbzero();
extern FILE	*dbfp;

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.