summaryrefslogtreecommitdiffstats
path: root/prioq.h
diff options
context:
space:
mode:
Diffstat (limited to 'prioq.h')
-rw-r--r--prioq.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/prioq.h b/prioq.h
index 46c6482..6b5babb 100644
--- a/prioq.h
+++ b/prioq.h
@@ -3,33 +3,33 @@
#include <glib.h>
-struct _flxPrioQueue;
-typedef struct _flxPrioQueue flxPrioQueue;
+struct _AvahiPrioQueue;
+typedef struct _AvahiPrioQueue AvahiPrioQueue;
-struct _flxPrioQueueNode;
-typedef struct _flxPrioQueueNode flxPrioQueueNode;
+struct _AvahiPrioQueueNode;
+typedef struct _AvahiPrioQueueNode AvahiPrioQueueNode;
-struct _flxPrioQueue {
- flxPrioQueueNode *root, *last;
+struct _AvahiPrioQueue {
+ AvahiPrioQueueNode *root, *last;
guint n_nodes;
gint (*compare) (gconstpointer a, gconstpointer b);
};
-struct _flxPrioQueueNode {
- flxPrioQueue *queue;
+struct _AvahiPrioQueueNode {
+ AvahiPrioQueue *queue;
gpointer data;
guint x, y;
- flxPrioQueueNode *left, *right, *parent, *next, *prev;
+ AvahiPrioQueueNode *left, *right, *parent, *next, *prev;
};
-flxPrioQueue* flx_prio_queue_new(gint (*compare) (gconstpointer a, gconstpointer b));
-void flx_prio_queue_free(flxPrioQueue *q);
+AvahiPrioQueue* avahi_prio_queue_new(gint (*compare) (gconstpointer a, gconstpointer b));
+void avahi_prio_queue_free(AvahiPrioQueue *q);
-flxPrioQueueNode* flx_prio_queue_put(flxPrioQueue *q, gpointer data);
-void flx_prio_queue_remove(flxPrioQueue *q, flxPrioQueueNode *n);
+AvahiPrioQueueNode* avahi_prio_queue_put(AvahiPrioQueue *q, gpointer data);
+void avahi_prio_queue_remove(AvahiPrioQueue *q, AvahiPrioQueueNode *n);
-void flx_prio_queue_shuffle(flxPrioQueue *q, flxPrioQueueNode *n);
+void avahi_prio_queue_shuffle(AvahiPrioQueue *q, AvahiPrioQueueNode *n);
#endif