Lines Matching refs:resolver
2 * ga-service-resolver.c - Source for GaServiceResolver
27 #include "ga-service-resolver.h"
64 AvahiServiceResolver *resolver;
84 priv->resolver = NULL;
97 GaServiceResolver *resolver = GA_SERVICE_RESOLVER(object);
99 GA_SERVICE_RESOLVER_GET_PRIVATE(resolver);
101 g_assert(priv->resolver == NULL);
133 GaServiceResolver *resolver = GA_SERVICE_RESOLVER(object);
135 GA_SERVICE_RESOLVER_GET_PRIVATE(resolver);
226 "Interface use for resolver",
258 param_spec = g_param_spec_enum("flags", "Lookup flags for the resolver",
259 "Resolver lookup flags",
281 if (priv->resolver)
282 avahi_service_resolver_free(priv->resolver);
283 priv->resolver = NULL;
308 static void _avahi_service_resolver_cb(AVAHI_GCC_UNUSED AvahiServiceResolver * resolver,
359 gboolean ga_service_resolver_attach(GaServiceResolver * resolver,
362 GA_SERVICE_RESOLVER_GET_PRIVATE(resolver);
369 priv->resolver = avahi_service_resolver_new(client->avahi_client,
377 resolver);
378 if (priv->resolver == NULL) {
385 /* printf("Failed to add resolver\n"); */
391 gboolean ga_service_resolver_get_address(GaServiceResolver * resolver,
394 GA_SERVICE_RESOLVER_GET_PRIVATE(resolver);