// lifo.h  -- Stack of characters (dynamic storage)


struct node{
	node *next;
	char value;
};


struct lifo{
	node * next;	// whence we pop
};

// create and initialize a lifo
void createLifo(lifo& stack);

// push a new value into an existing lifo
void push(lifo& stack, char who);

// pop a value from a lifo
char pop(lifo& stack);

// check if a lifo is empty
int isempty(lifo& stack);