7 typedef struct _flxPrioQueue flxPrioQueue;
9 struct _flxPrioQueueNode;
10 typedef struct _flxPrioQueueNode flxPrioQueueNode;
12 struct _flxPrioQueue {
13 flxPrioQueueNode *root, *last;
16 gint (*compare) (gpointer a, gpointer b);
19 struct _flxPrioQueueNode {
24 flxPrioQueueNode *left, *right, *parent, *next, *prev;
27 flxPrioQueue* flx_prio_queue_new(gint (*compare) (gpointer a, gpointer b));
28 void flx_prio_queue_free(flxPrioQueue *q);
30 flxPrioQueueNode* flx_prio_queue_put(flxPrioQueue *q, gpointer data);
31 void flx_prio_queue_remove(flxPrioQueue *q, flxPrioQueueNode *n);