#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <strings.h>
#include "votParseP.h"
Functions | |
Stack * | vot_newStack (void) |
Makes a new stack (private method). | |
Element * | votPop (Stack *st) |
Return a Node from the top of the stack (private method). | |
void | votPush (Stack *st, Element *elem) |
Push a Node to the top of the stack (private method). | |
Element * | votPeek (Stack *st) |
Peek at Element on top of the Stack (private method). | |
int | vot_isEmpty (Stack *st) |
Checks to see if the stack is empty (private method). | |
void | vot_clearStack (Stack *st) |
Clear the stack (private method). | |
void | vot_printStack (Stack *st) |
Print the name of all the stack elements (private method). |
VOTSTACK.C -- (Private) Methods to manage the parser Element stack.
void vot_clearStack | ( | Stack * | st | ) |
Clear the stack (private method).
vot_clearStack -- Clear the stack (private method)
st | A pointer to a Stack |
int vot_isEmpty | ( | Stack * | st | ) |
Checks to see if the stack is empty (private method).
vot_isEmpty -- Checks to see if the stack is empty (private method)
st | A pointer to a Stack |
Stack* vot_newStack | ( | void | ) |
Makes a new stack (private method).
vot_newStack -- Makes a new stack (private method)
void vot_printStack | ( | Stack * | st | ) |
Print the name of all the stack elements (private method).
vot_printStack -- Print the name of all the stack elements (private method)
st | A pointer to a Stack |