[avahi] How to filter out local services?

Lennart Poettering lennart at poettering.net
Thu Dec 17 01:07:05 PST 2009


On Thu, 26.11.09 17:42, Florian Erfurth (f.erfurth at reel-multimedia.com) wrote:

> Hi,
> I wrote a similiar application like avahi-browser, which just "collect" 
> 2 different types of services. Unfortunatelly it "listens" local 
> services too, which I would like to filter out. How can I do that? Where 
> do I have put the parameter?

The AVAHI_LOOKUP_RESULT_LOCAL flag is what you are looking for.

http://avahi.org/download/doxygen/defs_8h.html#0d69521c9408634d97c41435f4ecbfd7

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4


More information about the avahi mailing list