aboutsummaryrefslogtreecommitdiff
path: root/stack.h
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2008-05-17 16:03:18 +0000
committerDimitri Sokolyuk <demon@dim13.org>2008-05-17 16:03:18 +0000
commit93ebb28c47aa021378249dcb34f215be14360230 (patch)
tree9c090d512ec8384297fbc5e5c904a4785dfe6713 /stack.h
pvtrace
Diffstat (limited to 'stack.h')
-rw-r--r--stack.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/stack.h b/stack.h
new file mode 100644
index 0000000..ec7418a
--- /dev/null
+++ b/stack.h
@@ -0,0 +1,25 @@
+/* $Id$ */
+/********************************************************************
+ * File: stack.h
+ *
+ * Simple stack implementation header.
+ *
+ * Author: M. Tim Jones <mtj@mtjones.com>
+ *
+ */
+
+#ifndef __STACK_H
+#define __STACK_H
+
+void stackInit( void );
+
+int stackNumElems( void );
+
+unsigned int stackTop( void );
+
+void stackPush( unsigned int value );
+
+unsigned int stackPop( void );
+
+#endif /* __STACK_H */
+