Main Page | Modules | Data Structures | File List | Globals | Examples

/net/hp45/pmw/mware/cmrpc/queue.h

00001 /*
00002  * This is a set of GENERAL PURPOSE Queueing utility program.
00003  *      Sep/07/95       Bongki Moon (bkmoon@cs.umd.edu)
00004  */
00005 
00006 typedef struct queue_node {
00007         void                    *item;
00008         struct queue_node       *next;
00009 } QNODE;
00010 
00011 typedef struct queue_head {
00012         QNODE   *front;
00013         QNODE   *rear;
00014 } QHEAD;
00015 
00016 void initQueue(QHEAD *Queue);
00017 void enQueue(void *entry, QHEAD *Queue);
00018 void *deQueue(QHEAD *Queue);
00019 void insertQueue(void *entry, int position, QHEAD *Queue);
00020 void insertAtRearQueue (void *entry, QHEAD *Queue);
00021 void *fetchQueue(int position, QHEAD *Queue);
00022 

Generated on Thu Oct 14 18:34:49 2004 for CMrpc by  doxygen 1.3.9.1