#include "udanax.h"
Include dependency graph for queue.cxx:

Go to the source code of this file.
Defines | |
| #define | I_LEVEL 1 |
Functions | |
| void | qinit (struct queue *qhead) |
| ??? | |
| void | qpush (struct queue *qhead, struct queue *object) |
| ??? | |
| queue * | qremove (struct queue *qhead) |
| ??? | |
| int | qlength (struct queue *qhead) |
| ??? | |
(to be defined)
Definition in file queue.cxx.
|
|
|
|
|
??? (to be defined) Definition at line 98 of file queue.cxx. References queue::qnext, and queue::qprev. Referenced by initqueues().
|
|
|
??? (to be defined) Definition at line 187 of file queue.cxx. References queue::qnext.
|
|
||||||||||||
|
??? (to be defined) Definition at line 114 of file queue.cxx. References assert, queue::qnext, and queue::qprev. Referenced by freetoqueue(), and initqueues().
|
|
|
??? (to be defined) Definition at line 137 of file queue.cxx. References assert, NULL, queue::qnext, and queue::qprev. Referenced by allocfromqueue().
00139 {
00140 struct queue *object;
00141
00142 assert(qhead->qprev->qnext == qhead);
00143 assert(qhead->qnext->qprev == qhead);
00144
00145 if ((object = qhead->qnext) == qhead)
00146 return NULL;
00147
00148 qhead->qnext = object->qnext;
00149 object->qnext->qprev = qhead;
00150
00151 return object;
00152 }
|
1.3.4