queue.h
1 #ifndef __pll_QUEUE__
2 #define __pll_QUEUE__
3 
5 {
6  void * item;
7  struct pllQueueItem * next;
8 };
9 
10 typedef struct
11 {
12  struct pllQueueItem * head;
13  struct pllQueueItem * tail;
14 } pllQueue;
15 
16 int pllQueueInit (pllQueue ** q);
17 int pllQueueSize (pllQueue * q);
18 int pllQueueRemove (pllQueue * q, void ** item);
19 int pllQueueAppend (pllQueue * q, void * item);
20 #endif
Definition: queue.h:10
Definition: queue.h:4