• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/avahi-0.6.25/avahi-daemon/

Lines Matching refs:service

213             avahi_log_warn("Failed to publish service \"%s\" (%s): %s", g->chosen_name, g->filename, avahi_strerror(avahi_server_errno(s)));
229 /* This service group is already registered in the server */
259 avahi_log_error("Failed to add service '%s' of type '%s', ignoring service group (%s): %s",
276 avahi_log_error("Failed to add subtype '%s' for service '%s' of type '%s', ignoring subtype (%s): %s",
308 StaticService *service;
326 if (u->current_tag == XML_TAG_INVALID && strcmp(el, "service-group") == 0) {
345 } else if (u->current_tag == XML_TAG_SERVICE_GROUP && strcmp(el, "service") == 0) {
348 assert(!u->service);
349 u->service = static_service_new(u->group);
367 u->service->protocol = protocol;
429 avahi_log_error("%s: parse failure: service group incomplete.", u->group->filename);
439 if (!u->service->type) {
440 avahi_log_error("%s: parse failure: service incomplete.", u->group->filename);
445 u->service = NULL;
455 assert(u->service);
465 u->service->port = (uint16_t) p;
472 assert(u->service);
474 u->service->txt_records = avahi_string_list_add(u->service->txt_records, u->buf ? u->buf : "");
480 assert(u->service);
482 u->service->subtypes = avahi_string_list_add(u->service->subtypes, u->buf ? u->buf : "");
533 assert(u->service);
534 u->service->type = append_cdata(u->service->type, s, len);
538 assert(u->service);
539 u->service->domain_name = append_cdata(u->service->domain_name, s, len);
543 assert(u->service);
544 u->service->host_name = append_cdata(u->service->host_name, s, len);
550 assert(u->service);
573 u.service = NULL;
577 /* Cleanup old data in this service group, if available */
655 avahi_log_info("Loading service file %s.", n);
659 avahi_log_error("Failed to load service group file %s, ignoring.", g->filename);
687 avahi_log_warn("Failed to load service group file %s, removing service.", g->filename);
695 if ((globret = glob(in_chroot ? "/services/*.service" : AVAHI_SERVICE_DIR "/*.service", GLOB_ERR, NULL, &globbuf)) != 0)
700 avahi_log_error("Not enough memory to read service directory "AVAHI_SERVICE_DIR".");
705 avahi_log_info("No service file found in "AVAHI_SERVICE_DIR".");