]> git.meshlink.io Git - catta/blobdiff - prioq.h
Rename flx_* to avahi_*
[catta] / prioq.h
diff --git a/prioq.h b/prioq.h
index 46c64827965f3d0f8931a704360e474d8adc13ac..6b5babbe1729c381928e6c0d19efef1e53ab978f 100644 (file)
--- 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