aboutsummaryrefslogtreecommitdiffstats
path: root/src/stack.h
blob: 784180a57b405c3016a2e46fc76a5a639805ac81 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef STACK_H_
#define STACK_H_

#include "queue.h"

typedef struct queue Stack;

Stack *stackAlloc();
void stackAdd(Stack *stack, int item);
int stackPop(Stack *stack);
void stackFree(Stack *stack);

#endif