source:
CIVL/mods/dev.civl.com/examples/compare/queue/queue.h@
8553be8
| Last change on this file since 8553be8 was aad342c, checked in by , 3 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.
