1 /****************************************************************************
3 ** Program: pipe-handler - an AmigaDOS handler for named pipes
5 ** Author: Ed Puckett qix@mit-oz
7 ** Copyright 1987 by EpAc Software. All Rights Reserved.
9 ** History: 05-Jan-87 Original Version (1.0)
14 typedef struct pipelistnode
/* must be first member of list items */
15 { struct pipelistnode
*next
;
19 typedef struct pipelistheader
20 { struct pipelistnode
*head
;
26 #define InitList(headerp) ((void) ((headerp)->head= NULL))
27 #define FirstItem(headerp) ((headerp)->head)
28 #define NextItem(nodep) (((PIPELISTNODE *) (nodep))->next)
32 extern void InsertHead ( /* headerp, nodep */ );
33 extern void InsertTail ( /* headerp, nodep */ );
34 extern void Delete ( /* headerp, nodep */ );