]> git.meshlink.io Git - catta/blobdiff - subscribe.h
Rename flx_* to avahi_*
[catta] / subscribe.h
index 2399077169900572b87668c807d7678a7eb02c15..3ea0d8a4eed61ef3f425f490791eb1f17eb129b6 100644 (file)
@@ -2,30 +2,30 @@
 #define foosubscribehfoo
 
 #include "llist.h"
-#include "flx.h"
+#include "Avahi.h"
 #include "subscribe.h"
 #include "timeeventq.h"
 #include "server.h"
 
-struct _flxSubscription {
-    flxServer *server;
-    flxKey *key;
+struct _AvahiSubscription {
+    AvahiServer *server;
+    AvahiKey *key;
     gint interface;
     guchar protocol;
     gint n_query;
     guint sec_delay;
 
-    flxTimeEvent *time_event;
+    AvahiTimeEvent *time_event;
 
-    flxSubscriptionCallback callback;
+    AvahiSubscriptionCallback callback;
     gpointer userdata;
 
-    FLX_LLIST_FIELDS(flxSubscription, subscriptions);
-    FLX_LLIST_FIELDS(flxSubscription, by_key);
+    AVAHI_LLIST_FIELDS(AvahiSubscription, subscriptions);
+    AVAHI_LLIST_FIELDS(AvahiSubscription, by_key);
 };
 
-void flx_subscription_notify(flxServer *s, flxInterface *i, flxRecord *record, flxSubscriptionEvent event);
+void avahi_subscription_notify(AvahiServer *s, AvahiInterface *i, AvahiRecord *record, AvahiSubscriptionEvent event);
 
-gboolean flx_is_subscribed(flxServer *s, flxKey *k);
+gboolean avahi_is_subscribed(AvahiServer *s, AvahiKey *k);
 
 #endif