|
|
1.1 root 1: /* $Header$ */
2:
3: /*
4: * Project directory list definitions
5: *
6: * Author: Peter J. Nicklin
7: */
8:
9: /*
10: * Singly-linked project directory list macros
11: */
12: #define pdnum(pdlist) (pdlist)->nd
13: /*
14: * Singly-linked project directory list block
15: */
16: typedef struct _pdblk
17: {
18: char *ppath; /* project directory project pathname */
19: char *rpath; /* project directory regular pathname */
20: char *project; /* project directory's project */
21: struct _pdblk *next; /* ptr to next list block */
22: } PDBLK;
23: /*
24: * Singly-linked project directory list head block
25: */
26: typedef struct _pdlisthb
27: {
28: int nd; /* number of directories in list */
29: PDBLK *head; /* pointer to first list block */
30: } PDLIST;
31: /*
32: * Functions defined for singly-linked project directory list operations
33: */
34: extern PDLIST *pdinit(); /* initialize project directory list */
35: extern char *pdprepend(); /* prepend project directory */
36: extern void pdrm(); /* remove project directory list */
37: 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.