]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/cvs/src/stack.h
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / cvs / src / stack.h
1 /*
2  * Copyright (c) 2004-2005 The Free Software Foundation,
3  *                         Derek Price, and Ximbiot <http://ximbiot.com>.
4  * 
5  * You may distribute under the terms of the GNU General Public License as
6  * specified in the README file that comes with the CVS source distribution.
7  */
8
9 void push PROTO((List *_stack, void *_elem));
10 void *pop PROTO((List *_stack));
11 void unshift PROTO((List *_stack, void *_elem));
12 void *shift PROTO((List *_stack));
13 void push_string PROTO((List *_stack, char *_elem));
14 char *pop_string PROTO((List *_stack));
15 void unshift_string PROTO((List *_stack, char *_elem));
16 char *shift_string PROTO((List *_stack));
17 int isempty PROTO((List *_stack));