]> git.meshlink.io Git - catta/blobdiff - llist.h
Rename flx_* to avahi_*
[catta] / llist.h
diff --git a/llist.h b/llist.h
index e5787cd802523cf548ae81bdc64f2ac2269d0fd9..16a16b6f327f65cfb6d8b92a7dba786f6e860e0c 100644 (file)
--- a/llist.h
+++ b/llist.h
@@ -7,23 +7,23 @@
 
 /* The head of the linked list. Use this in the structure that shall
  * contain the head of the linked list */
-#define FLX_LLIST_HEAD(t,name) t *name
+#define AVAHI_LLIST_HEAD(t,name) t *name
 
 /* The pointers in the linked list's items. Use this in the item structure */
-#define FLX_LLIST_FIELDS(t,name) t *name##_next, *name##_prev
+#define AVAHI_LLIST_FIELDS(t,name) t *name##_next, *name##_prev
 
 /* Initialize the list's head */
-#define FLX_LLIST_HEAD_INIT(t,head) do { (head) = NULL; } while(0)
+#define AVAHI_LLIST_HEAD_INIT(t,head) do { (head) = NULL; } while(0)
 
 /* Initialize a list item */
-#define FLX_LLIST_INIT(t,name,item) do { \
+#define AVAHI_LLIST_INIT(t,name,item) do { \
                                t *_item = (item); \
                                g_assert(_item); \
                                _item->name##_prev = _item->name##_next = NULL; \
                                } while(0)
 
 /* Prepend an item to the list */
-#define FLX_LLIST_PREPEND(t,name,head,item) do { \
+#define AVAHI_LLIST_PREPEND(t,name,head,item) do { \
                                         t **_head = &(head), *_item = (item); \
                                         g_assert(_item); \
                                         if ((_item->name##_next = *_head)) \
@@ -33,7 +33,7 @@
                                         } while (0)
 
 /* Remove an item from the list */
-#define FLX_LLIST_REMOVE(t,name,head,item) do { \
+#define AVAHI_LLIST_REMOVE(t,name,head,item) do { \
                                     t **_head = &(head), *_item = (item); \
                                     g_assert(_item); \
                                     if (_item->name##_next) \