[avahi] Identify failures when registering a service in Vala

Visarion-Mingopol Alexandru-Viorel viorel.visarion at gmail.com
Mon Jan 16 17:22:48 UTC 2017


Currently, in Vala we can not identify which kind of failure happens while
registering a service.

In the official C example this is possible through
fprintf(stderr, "Entry group failure: %s\n",
avahi_strerror(avahi_client_errno(avahi_entry_group_get_client(g))));
Unfortunately, in the Vala bindings, avahi_client_errno () is not included
in the API.

I would gladly try to include the avahi_client_errno () method in Vala, if
this complies with your logical design/plans.

-- 
Visarion-Mingopol Alexandru-Viorel
Telefon : 0729614060
Best Bucuresti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/avahi/attachments/20170116/643f7eeb/attachment.html>


More information about the avahi mailing list