// stack.h typedef struct _stacknode { int data; struct _stacknode *next; } stacknode, *stack; extern "C" { void init(stack *s); void push(stack *s, int i); int pop (stack *s); void destroy(stack *s); }