summaryrefslogtreecommitdiffstats
path: root/prioq.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-05-06 15:21:41 +0000
committerLennart Poettering <lennart@poettering.net>2005-05-06 15:21:41 +0000
commit7dce450bdc23ea306a61e00f914481e29ebcb176 (patch)
tree694acedcd6728844167c5cde09841058fc20e99e /prioq.h
parent844f6b5a8213018c3d42b5ef924b61cf3eafcdbb (diff)
Rename flx_* to avahi_*
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@46 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
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