Merge from vendor branch BIND:
[dragonfly.git] / contrib / cvs-1.12 / 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 (List *_stack, void *_elem);
10 void *pop (List *_stack);
11 void unshift (List *_stack, void *_elem);
12 void *shift (List *_stack);
13 void push_string (List *_stack, char *_elem);
14 char *pop_string (List *_stack);
15 void unshift_string (List *_stack, char *_elem);
16 char *shift_string (List *_stack);
17 int isempty (List *_stack);