Home
last modified time | relevance | path

Searched refs:avahi_strerror (Results 1 – 25 of 28) sorted by relevance

12

/external/avahi/examples/
Dcore-publish-service.c73 fprintf(stderr, "Entry group failure: %s\n", avahi_strerror(avahi_server_errno(s))); in entry_group_callback()
93 … fprintf(stderr, "avahi_entry_group_new() failed: %s\n", avahi_strerror(avahi_server_errno(s))); in create_services()
104 fprintf(stderr, "Failed to add _ipp._tcp service: %s\n", avahi_strerror(ret)); in create_services()
110 fprintf(stderr, "Failed to add _printer._tcp service: %s\n", avahi_strerror(ret)); in create_services()
116 … fprintf(stderr, "Failed to add subtype _magic._sub._printer._tcp: %s\n", avahi_strerror(ret)); in create_services()
122 fprintf(stderr, "Failed to commit entry_group: %s\n", avahi_strerror(ret)); in create_services()
159 fprintf(stderr, "Failed to set new host name: %s\n", avahi_strerror(r)); in server_callback()
183 fprintf(stderr, "Server failure: %s\n", avahi_strerror(avahi_server_errno(s))); in server_callback()
222 fprintf(stderr, "Failed to create server: %s\n", avahi_strerror(error)); in main()
Dclient-publish-service.c74 …fprintf(stderr, "Entry group failure: %s\n", avahi_strerror(avahi_client_errno(avahi_entry_group_g… in entry_group_callback()
96 … fprintf(stderr, "avahi_entry_group_new() failed: %s\n", avahi_strerror(avahi_client_errno(c))); in create_services()
120 fprintf(stderr, "Failed to add _ipp._tcp service: %s\n", avahi_strerror(ret)); in create_services()
130 fprintf(stderr, "Failed to add _printer._tcp service: %s\n", avahi_strerror(ret)); in create_services()
136 … fprintf(stderr, "Failed to add subtype _magic._sub._printer._tcp: %s\n", avahi_strerror(ret)); in create_services()
142 fprintf(stderr, "Failed to commit entry group: %s\n", avahi_strerror(ret)); in create_services()
183 fprintf(stderr, "Client failure: %s\n", avahi_strerror(avahi_client_errno(c))); in client_callback()
251 fprintf(stderr, "Failed to create client: %s\n", avahi_strerror(error)); in main()
Dclient-browse-services.c59 …service '%s' of type '%s' in domain '%s': %s\n", name, type, domain, avahi_strerror(avahi_client_e… in resolve_callback()
113 …fprintf(stderr, "(Browser) %s\n", avahi_strerror(avahi_client_errno(avahi_service_browser_get_clie… in browse_callback()
126 …fprintf(stderr, "Failed to resolve service '%s': %s\n", name, avahi_strerror(avahi_client_errno(c)… in browse_callback()
147 fprintf(stderr, "Server connection failure: %s\n", avahi_strerror(avahi_client_errno(c))); in client_callback()
169 fprintf(stderr, "Failed to create client: %s\n", avahi_strerror(error)); in main()
175 …fprintf(stderr, "Failed to create service browser: %s\n", avahi_strerror(avahi_client_errno(client… in main()
Dcore-browse-services.c70 …service '%s' of type '%s' in domain '%s': %s\n", name, type, domain, avahi_strerror(avahi_server_e… in resolve_callback()
122 fprintf(stderr, "(Browser) %s\n", avahi_strerror(avahi_server_errno(server))); in browse_callback()
135 …fprintf(stderr, "Failed to resolve service '%s': %s\n", name, avahi_strerror(avahi_server_errno(s)… in browse_callback()
185 fprintf(stderr, "Failed to create server: %s\n", avahi_strerror(error)); in main()
191 …fprintf(stderr, "Failed to create service browser: %s\n", avahi_strerror(avahi_server_errno(server… in main()
Dglib-integration.c64 … g_message ("Disconnected from the Avahi Daemon: %s", avahi_strerror(avahi_client_errno(client))); in avahi_client_callback()
118 g_warning ("Error initializing Avahi: %s", avahi_strerror (error)); in main()
129 … g_warning ("Error getting version string: %s", avahi_strerror (avahi_client_errno (client))); in main()
/external/avahi/avahi-utils/
Davahi-set-host-name.c59 … fprintf(stderr, _("Client failure, exiting: %s\n"), avahi_strerror(avahi_client_errno(c))); in client_callback()
160 fprintf(stderr, _("Failed to create client object: %s\n"), avahi_strerror(error)); in main()
168 …fprintf(stderr, _("Failed to query version string: %s\n"), avahi_strerror(avahi_client_errno(clien… in main()
173 … fprintf(stderr, _("Failed to query host name: %s\n"), avahi_strerror(avahi_client_errno(client))); in main()
181 …fprintf(stderr, _("Failed to create host name resolver: %s\n"), avahi_strerror(avahi_client_errno(… in main()
189 … fprintf(stderr, _("Failed to query host name: %s\n"), avahi_strerror(avahi_client_errno(client))); in main()
Davahi-resolve.c89 …fprintf(stderr, _("Failed to resolve host name '%s': %s\n"), name, avahi_strerror(avahi_client_err… in host_name_resolver_callback()
126 …fprintf(stderr, _("Failed to resolve address '%s': %s\n"), address, avahi_strerror(avahi_client_er… in address_resolver_callback()
143 … fprintf(stderr, _("Client failure, exiting: %s\n"), avahi_strerror(avahi_client_errno(c))); in client_callback()
272 fprintf(stderr, _("Failed to create client object: %s\n"), avahi_strerror(error)); in main()
280 …fprintf(stderr, _("Failed to query version string: %s\n"), avahi_strerror(avahi_client_errno(clien… in main()
285 … fprintf(stderr, _("Failed to query host name: %s\n"), avahi_strerror(avahi_client_errno(client))); in main()
299 …fprintf(stderr, _("Failed to create host name resolver: %s\n"), avahi_strerror(avahi_client_errno(… in main()
314 …fprintf(stderr, _("Failed to create address resolver: %s\n"), avahi_strerror(avahi_client_errno(cl… in main()
Davahi-publish.c81 … fprintf(stderr, _("Failed to register: %s\n"), avahi_strerror(avahi_client_errno(client))); in entry_group_callback()
114 …fprintf(stderr, _("Failed to create entry group: %s\n"), avahi_strerror(avahi_client_errno(client)… in register_stuff()
124 … fprintf(stderr, _("Failed to add address: %s\n"), avahi_strerror(avahi_client_errno(client))); in register_stuff()
134 … fprintf(stderr, _("Failed to add service: %s\n"), avahi_strerror(avahi_client_errno(client))); in register_stuff()
140 …fprintf(stderr, _("Failed to add subtype '%s': %s\n"), i->text, avahi_strerror(avahi_client_errno(… in register_stuff()
170 … fprintf(stderr, _("Failed to create client object: %s\n"), avahi_strerror(error)); in client_callback()
175 … fprintf(stderr, _("Client failure, exiting: %s\n"), avahi_strerror(avahi_client_errno(c))); in client_callback()
386 fprintf(stderr, _("Failed to create client object: %s\n"), avahi_strerror(error)); in main()
394 …fprintf(stderr, _("Failed to query version string: %s\n"), avahi_strerror(avahi_client_errno(clien… in main()
399 … fprintf(stderr, _("Failed to query host name: %s\n"), avahi_strerror(avahi_client_errno(client))); in main()
Davahi-browse.c239 …ervice '%s' of type '%s' in domain '%s': %s\n"), name, type, domain, avahi_strerror(avahi_client_e… in service_resolver_callback()
261 …ervice '%s' of type '%s' in domain '%s': %s\n"), name, type, domain, avahi_strerror(avahi_client_e… in add_service()
340 … fprintf(stderr, _("service_browser failed: %s\n"), avahi_strerror(avahi_client_errno(client))); in service_browser_callback()
378 …fprintf(stderr, _("avahi_service_browser_new() failed: %s\n"), avahi_strerror(avahi_client_errno(c… in browse_service_type()
414 …fprintf(stderr, _("service_type_browser failed: %s\n"), avahi_strerror(avahi_client_errno(client))… in service_type_browser_callback()
444 …fprintf(stderr, _("avahi_service_type_browser_new() failed: %s\n"), avahi_strerror(avahi_client_er… in browse_all()
488 … fprintf(stderr, ("domain_browser failed: %s\n"), avahi_strerror(avahi_client_errno(client))); in domain_browser_callback()
519 …fprintf(stderr, _("avahi_domain_browser_new() failed: %s\n"), avahi_strerror(avahi_client_errno(cl… in browse_domains()
535 …fprintf(stderr, _("Failed to query version string: %s\n"), avahi_strerror(avahi_client_errno(clien… in start()
540 … fprintf(stderr, _("Failed to query host name: %s\n"), avahi_strerror(avahi_client_errno(client))); in start()
[all …]
/external/libweave/examples/provider/
Davahi_client.cc39 << avahi_strerror(ret); in AvahiClient()
44 CHECK(group_) << avahi_strerror(avahi_client_errno(client_.get())) in AvahiClient()
76 CHECK_GE(ret, 0) << avahi_strerror(ret); in PublishService()
87 CHECK_GE(ret, 0) << avahi_strerror(ret); in PublishService()
89 CHECK_GE(ret, 0) << avahi_strerror(ret); in PublishService()
/external/avahi/avahi-client/
Dclient-test.c230 fprintf(stderr, "Client failed: %s\n", avahi_strerror(error)); in main()
237 …printf("Avahi Server Version: %s (Error Return: %s)\n", ret, ret ? "OK" : avahi_strerror(avahi_cli… in main()
240 …printf("Host Name: %s (Error Return: %s)\n", ret, ret ? "OK" : avahi_strerror(avahi_client_errno(a… in main()
243 …printf("Domain Name: %s (Error Return: %s)\n", ret, ret ? "OK" : avahi_strerror(avahi_client_errno… in main()
246 …printf("FQDN: %s (Error Return: %s)\n", ret, ret ? "OK" : avahi_strerror(avahi_client_errno(avahi)… in main()
249 …urn: %s)\n", cookie, cookie != AVAHI_SERVICE_COOKIE_INVALID ? "OK" : avahi_strerror(avahi_client_e… in main()
252 printf("Creating entry group: %s\n", group ? "OK" : avahi_strerror(avahi_client_errno (avahi))); in main()
258 …printf("%s\n", avahi_strerror(avahi_entry_group_add_service (group, AVAHI_IF_UNSPEC, AVAHI_PROTO_U… in main()
295 printf ("*** failed to add address to entry group: %s\n", avahi_strerror (error)); in main()
/external/avahi/avahi-sharp/
DClientException.cs102 private static extern IntPtr avahi_strerror (ErrorCode code); in avahi_strerror() method in Avahi.ClientException
119 IntPtr str = avahi_strerror (code); in GetErrorString()
/external/avahi/avahi-daemon/
Dstatic-hosts.c74 …notice ("Failed to establish static host name \"%s\": %s.", h->host, avahi_strerror (avahi_server_… in entry_group_callback()
128 …avahi_log_error("avahi_s_entry_group_new() failed: %s", avahi_strerror(avahi_server_errno(avahi_se… in add_static_host_to_server()
142 …_error ("Static host name %s: avahi_server_add_address failure: %s", h->host, avahi_strerror(err)); in add_static_host_to_server()
Dsimple-protocol.c196 …client_output_printf(c, "%+i %s\n", avahi_server_errno(avahi_server), avahi_strerror(avahi_server_… in host_name_resolver_callback()
221 …client_output_printf(c, "%+i %s\n", avahi_server_errno(avahi_server), avahi_strerror(avahi_server_… in address_resolver_callback()
249 …client_output_printf(c, "%+i %s\n", avahi_server_errno(avahi_server), avahi_strerror(avahi_server_… in dns_server_browser_callback()
362 …client_output_printf(c, "%+i %s\n", avahi_server_errno(avahi_server), avahi_strerror(avahi_server_… in handle_line()
Dmain.c258 … avahi_log_error("Failed to add DNS server address: %s", avahi_strerror(avahi_server_errno(s))); in add_dns_servers()
401 avahi_log_error("Server error: %s", avahi_strerror(avahi_server_errno(s))); in server_callback()
402 sd_notifyf(0, "STATUS=Server error: %s", avahi_strerror(avahi_server_errno(s))); in server_callback()
1041 avahi_log_error("Failed to read inotify event: %s", avahi_strerror(errno)); in inotify_callback()
1071 avahi_log_error("Failed to read kqueue event: %s", avahi_strerror(errno)); in kqueue_callback()
1251 avahi_log_error("Failed to create server: %s", avahi_strerror(error)); in run_server()
Dstatic-services.c212 …ed to publish service \"%s\" (%s): %s", g->chosen_name, g->filename, avahi_strerror(avahi_server_e… in entry_group_callback()
266 avahi_strerror(avahi_server_errno(avahi_server))); in add_static_service_group_to_server()
283 avahi_strerror(avahi_server_errno(avahi_server))); in add_static_service_group_to_server()
/external/avahi/avahi-gobject/
Dga-entry-group.c391 avahi_strerror(ret)); in ga_entry_group_add_service_full_strlist()
497 avahi_strerror(ret)); in ga_entry_group_add_record_full()
524 avahi_strerror(ret)); in ga_entry_group_service_thaw()
591 avahi_strerror(aerrno)); in ga_entry_group_attach()
606 avahi_strerror(ret)); in ga_entry_group_commit()
621 avahi_strerror(ret)); in ga_entry_group_reset()
Dga-record-browser.c349 avahi_strerror(aerrno)); in _avahi_record_browser_cb()
376 avahi_strerror(aerrno)); in ga_record_browser_attach()
Dga-service-resolver.c337 avahi_strerror(aerrno)); in _avahi_service_resolver_cb()
383 avahi_strerror(aerrno)); in ga_service_resolver_attach()
Dga-service-browser.c325 avahi_strerror(aerrno)); in _avahi_service_browser_cb()
367 avahi_strerror(aerrno)); in ga_service_browser_attach()
Dga-client.c250 avahi_strerror(aerror)); in ga_client_start()
/external/avahi/avahi-common/
Derror.h103 const char *avahi_strerror(int error);
Derror.c27 const char *avahi_strerror(int error) { in avahi_strerror() function
/external/avahi/avahi-ui/
Davahi-ui.c327 avahi_strerror(avahi_client_errno(c))); in client_callback()
389avahi_strerror(avahi_client_errno(d->priv->client))); in resolve_callback()
520avahi_strerror(avahi_client_errno(d->priv->client))); in browse_callback()
650avahi_strerror(avahi_client_errno(d->priv->client))); in domain_browse_callback()
685 avahi_strerror(avahi_client_errno(d->priv->client))); in get_domain_name()
718 avahi_strerror(error)); in start_callback()
775avahi_strerror(avahi_client_errno(d->priv->client))); in start_callback()
905avahi_strerror(avahi_client_errno(d->priv->client))); in response_callback()
979 avahi_strerror(avahi_client_errno(p->client))); in domain_button_clicked()
/external/avahi/avahi-core/
Dserver.c1146 avahi_log_warn("Failed to create HINFO entry group: %s", avahi_strerror(s->error)); in register_hinfo()
1154 avahi_log_warn("uname() failed: %s\n", avahi_strerror(errno)); in register_hinfo()
1163 avahi_log_warn("Failed to add HINFO RR: %s", avahi_strerror(s->error)); in register_hinfo()
1172 avahi_log_warn("Failed to commit HINFO entry group: %s", avahi_strerror(s->error)); in register_hinfo()
1203 avahi_log_warn("Failed to create browse domain entry group: %s", avahi_strerror(s->error)); in register_browse_domain()
1208 avahi_log_warn("Failed to add browse domain RR: %s", avahi_strerror(s->error)); in register_browse_domain()
1213 avahi_log_warn("Failed to commit browse domain entry group: %s", avahi_strerror(s->error)); in register_browse_domain()

12