source:
CIVL/examples/compare/queue/queue.h@
fffb3b88
| Last change on this file since fffb3b88 was 57732bb5, checked in by , 11 years ago | |
|---|---|
|
|
| File size: 210 bytes | |
| Line | |
|---|---|
| 1 | #ifndef _QUEUE_ |
| 2 | #define _QUEUE_ |
| 3 | |
| 4 | typedef struct queue_t queue_t; |
| 5 | |
| 6 | void initialize(queue_t *Q); |
| 7 | |
| 8 | void enqueue(queue_t *Q, int value); |
| 9 | |
| 10 | _Bool dequeue(queue_t *Q, int *pvalue); |
| 11 | |
| 12 | void freequeue(queue_t q); |
| 13 | |
| 14 | #endif |
Note:
See TracBrowser
for help on using the repository browser.
