[avahi] Porting code from avahi-core to avahi-client : avahi_server_get_group_of_service

Thibaut Le Guilly leguilly.thibaut at gmail.com
Thu Aug 25 05:05:22 PDT 2011


Hello everybody,

I have been using the avahi-core library for publishing services on small
devices, but now I would like to port my code using the avahi-client one.

I had almost no problem doing that, except for retrieving entry groups. In
fact, I was previously using
the avahi_server_get_group_of_service function with the group name and type
to do that, but looking at avahi-client, I could not find any similar
function. Do you know if there is any way of retrieving a group with its
name and type?
I know how to solve the problem, by keeping a list of all my entry groups
associated with their name for example, but I don't really like it.

Thanks in advance,

-- 
Thibaut Le Guilly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/avahi/attachments/20110825/d92bab7b/attachment.html>


More information about the avahi mailing list