aboutsummaryrefslogtreecommitdiff
path: root/stack.h
blob: ec7418a463d9079b47410e9affa1571b51bb15b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 */