]> git.meshlink.io Git - catta/blobdiff - avahi-core/subscribe.h
* rename AvahiSubscription to AvahiRecordResolver
[catta] / avahi-core / subscribe.h
index 0290085a4004c3485253f961e2b602fed2866a74..23b12e56edab377a44038e940cbc6c03f1eeb63c 100644 (file)
@@ -28,7 +28,7 @@
 #include "timeeventq.h"
 #include "server.h"
 
-struct AvahiSubscription {
+struct AvahiRecordResolver {
     AvahiServer *server;
     AvahiKey *key;
     gint interface;
@@ -38,14 +38,14 @@ struct AvahiSubscription {
 
     AvahiTimeEvent *time_event;
 
-    AvahiSubscriptionCallback callback;
+    AvahiRecordResolverCallback callback;
     gpointer userdata;
 
-    AVAHI_LLIST_FIELDS(AvahiSubscription, subscriptions);
-    AVAHI_LLIST_FIELDS(AvahiSubscription, by_key);
+    AVAHI_LLIST_FIELDS(AvahiRecordResolver, resolver);
+    AVAHI_LLIST_FIELDS(AvahiRecordResolver, by_key);
 };
 
-void avahi_subscription_notify(AvahiServer *s, AvahiInterface *i, AvahiRecord *record, AvahiSubscriptionEvent event);
+void avahi_resolver_notify(AvahiServer *s, AvahiInterface *i, AvahiRecord *record, AvahiBrowserEvent event);
 
 gboolean avahi_is_subscribed(AvahiServer *s, AvahiKey *k);