|
|
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 */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.