diff options
Diffstat (limited to 'src/stack.h')
-rw-r--r-- | src/stack.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/stack.h b/src/stack.h new file mode 100644 index 0000000..6f348c5 --- /dev/null +++ b/src/stack.h @@ -0,0 +1,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); |