Lines Matching refs:service_name
46 static char *service_name = NULL; variable
119 avahi_log_debug("Service name conflict, retrying with <%s>", service_name); in entry_group_callback()
121 avahi_log_debug("Service established under name <%s>", service_name); in entry_group_callback()
161 if (!service_name) in create_entries()
162 service_name = avahi_strdup("Test Service"); in create_entries()
164 char *n = avahi_alternative_service_name(service_name); in create_entries()
165 avahi_free(service_name); in create_entries()
166 service_name = n; in create_entries()
169 …er_add_service(server, group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, service_name, "_http._tcp", … in create_entries()
174 …er_add_service(server, group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, service_name, "_ftp._tcp", N… in create_entries()
179 …if (avahi_server_add_service(server, group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0,service_name, "… in create_entries()
399 avahi_free(service_name); in main()