summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/client-browse-services.c6
-rw-r--r--examples/core-browse-services.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/examples/client-browse-services.c b/examples/client-browse-services.c
index d03fa31..b4e3411 100644
--- a/examples/client-browse-services.c
+++ b/examples/client-browse-services.c
@@ -81,9 +81,9 @@ static void resolve_callback(
t,
avahi_string_list_get_service_cookie(txt),
avahi_client_is_service_local(avahi_service_resolver_get_client(r), interface, protocol, name, type, domain),
- !!(flags & AVAHI_LOOKUP_CALLBACK_WIDE_AREA),
- !!(flags & AVAHI_LOOKUP_CALLBACK_MULTICAST),
- !!(flags & AVAHI_LOOKUP_CALLBACK_CACHED));
+ !!(flags & AVAHI_LOOKUP_RESULT_WIDE_AREA),
+ !!(flags & AVAHI_LOOKUP_RESULT_MULTICAST),
+ !!(flags & AVAHI_LOOKUP_RESULT_CACHED));
avahi_free(t);
}
diff --git a/examples/core-browse-services.c b/examples/core-browse-services.c
index 86b18a0..50f82bc 100644
--- a/examples/core-browse-services.c
+++ b/examples/core-browse-services.c
@@ -93,9 +93,9 @@ static void resolve_callback(
t,
avahi_string_list_get_service_cookie(txt),
avahi_server_is_service_local(server, interface, protocol, name, type, domain),
- !!(flags & AVAHI_LOOKUP_CALLBACK_WIDE_AREA),
- !!(flags & AVAHI_LOOKUP_CALLBACK_MULTICAST),
- !!(flags & AVAHI_LOOKUP_CALLBACK_CACHED));
+ !!(flags & AVAHI_LOOKUP_RESULT_WIDE_AREA),
+ !!(flags & AVAHI_LOOKUP_RESULT_MULTICAST),
+ !!(flags & AVAHI_LOOKUP_RESULT_CACHED));
avahi_free(t);
}
}