Listing 13 Hiding the Stack structure with an incomplete type

/* stack4.h: Using incomplete types */

#define STACK_ERROR (-32768)

struct stack;
typedef struct stack Stack;

Stack *stack_create(int);
int stack_push(Stack *,int);
int stack_pop(Stack *);
void stack_destroy(Stack *);

/* End of File */