Home | History | Annotate | Download | only in avahi-discover-standalone

Lines Matching refs:service_type

46     struct ServiceType *service_type;
57 gchar *service_type;
74 static struct Service *get_service(const gchar *service_type, const gchar *service_name, const gchar*domain_name, AvahiIfIndex interface, AvahiProtocol protocol) {
78 if (!(st = g_hash_table_lookup(service_type_hash_table, service_type)))
109 s->service_type->services = g_list_remove(s->service_type->services, s);
131 const char *service_type,
148 s->service_type = g_hash_table_lookup(service_type_hash_table, service_type);
149 g_assert(s->service_type);
151 s->service_type->services = g_list_prepend(s->service_type->services, s);
153 ppath = gtk_tree_row_reference_get_path(s->service_type->tree_ref);
172 if ((s = get_service(service_type, service_name, domain_name, interface, protocol)))
182 const char *service_type,
194 if (g_hash_table_lookup(service_type_hash_table, service_type))
198 st->service_type = g_strdup(service_type);
202 gtk_tree_store_set(tree_store, &iter, 0, st->service_type, 1, "", 2, NULL, -1);
208 g_hash_table_insert(service_type_hash_table, st->service_type, st);
210 st->browser = avahi_s_service_browser_new(server, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, st->service_type, domain, 0, service_browser_callback, NULL);
238 s->service_type->service_type,
311 service_resolver = avahi_s_service_resolver_new(server, s->interface, s->protocol, s->service_name, s->service_type->service_type, s->domain_name, AVAHI_PROTO_UNSPEC, 0, service_resolver_callback, s);