1 /* $XConsortium: PstackI.h /main/4 1995/11/08 11:47:58 rswiston $ */
2 /************************************<+>*************************************
3 ****************************************************************************
7 * Project: Cache Creek (Rivers) Project
8 * Description: Header file for Utility functions for PStack.h
10 * Modifications by (Mike Wilson)
13 * (C) Copyright 1992, Hewlett-Packard, all rights reserved.
15 ****************************************************************************
16 ************************************<+>*************************************/
24 typedef struct PStackRec *PStack;
30 /*****************************************************************************
31 * Function: PStack PStackCreate();
35 * Return Value: PStack.
37 * Purpose: Generates a PStack structure and returns it to the
40 *****************************************************************************/
41 extern PStack PStackCreate();
44 /*****************************************************************************
45 * Function: PStack PStackDestroy();
51 * Purpose: Destroys a PStack structure.
53 *****************************************************************************/
54 extern void PStackDestroy(
58 /*****************************************************************************
59 * Function: PStack PStackPush();
66 * Purpose: Pushes a PStack structure on the current stack.
68 *****************************************************************************/
69 extern void PStackPush(
74 /*****************************************************************************
75 * Function: PStack *PStackPeek();
81 * Purpose: Gets a PStack.
83 *****************************************************************************/
84 extern void *PStackPeek(
88 /*****************************************************************************
89 * Function: PStack *PStackPop();
95 * Purpose: Pops the top element off the stack
97 *****************************************************************************/
98 extern void *PStackPop(