ack/mach/proto/top/queue.h
1987-03-10 11:49:39 +00:00

18 lines
383 B
C

/* $Header$ */
/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
typedef struct item *item_p;
typedef struct queue_t *queue;
struct queue_t {
instr_p head;
instr_p tail;
int qlen;
};
#define qhead(q) (q)->head
#define qlength(q) (q)->qlen
#define next(x) (x)->fw