summaryrefslogtreecommitdiff
path: root/external/gpl2/xcvs/dist/src/stack.h
blob: 6f348c512892c1d2b16b9f2e2a8e73a8b5f484b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Copyright (c) 2004-2005 The Free Software Foundation,
 *                         Derek Price, and Ximbiot <http://ximbiot.com>.
 * 
 * You may distribute under the terms of the GNU General Public License as
 * specified in the README file that comes with the CVS source distribution.
 */

void push (List *_stack, void *_elem);
void *pop (List *_stack);
void unshift (List *_stack, void *_elem);
void *shift (List *_stack);
void push_string (List *_stack, char *_elem);
char *pop_string (List *_stack);
void unshift_string (List *_stack, char *_elem);
char *shift_string (List *_stack);
int isempty (List *_stack);