File:  [CSRG BSD Unix] / 43BSDTahoe / new / spms / src / bin / pexec / pdlist.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:58 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43tahoe
BSD 4.3tahoe

/* $Header: /var/lib/cvsd/repos/CSRG/43BSDTahoe/new/spms/src/bin/pexec/pdlist.h,v 1.1.1.1 2018/04/24 16:12:58 root Exp $ */

/*
 * Project directory list definitions
 *
 * Author: Peter J. Nicklin
 */

/*
 * Singly-linked project directory list macros
 */
#define pdnum(pdlist)	(pdlist)->nd
/*
 * Singly-linked project directory list block
 */
typedef struct _pdblk
	{
	char *ppath;			/* project directory project pathname */
	char *rpath;			/* project directory regular pathname */
	char *project;			/* project directory's project */
	struct _pdblk *next;		/* ptr to next list block */
	} PDBLK;
/*
 * Singly-linked project directory list head block
 */
typedef struct _pdlisthb
	{
	int nd;				/* number of directories in list */
	PDBLK *head;			/* pointer to first list block */
	} PDLIST;
/*
 * Functions defined for singly-linked project directory list operations
 */
extern PDLIST *pdinit();		/* initialize project directory list */
extern char *pdprepend();		/* prepend project directory */
extern void pdrm();			/* remove project directory list */
extern void pdsort();			/* sort project directory list */

unix.superglobalmegacorp.com

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