Listing 4 (mouseq.h)

#if !defined(MOUSEQ_H)
#define MOUSEQ_H

int set_que(unsigned int que_entries);
void free_que(void);


typedef struct mouseq  {
int xcoord;
int ycoord;
int buttonbits;
int maskbits;
int valid;
struct mouseq *next;
}
EVENT;

extern EVENT *head, *tail;

#endif