Hi All,
I wanted to run this past you all for comments before committing or
pushing anything. It's code that enables PCP server's to announce
themselves over the local network using Avahi, if available.
o Most of the new code is in the file avahi.c which would be part of
libpcp (src/libpcp/src/avahi.c).
o This code is accessed via the new API functions
__pmServerAdvertisePresence() and __pmServerUnadvertisePresence().
o The Avhahi code is compiled out if the necessary Avahi
headers/libraries are not available.
o As en example, in the patch, the new API functions are called from PMCD.
As it stands, this code is a working prototype. Let me know if this is
headed in the right direction. Also any help with the autoconf/spec
stuff is always appreciated.
Thanks,
Dave
pcp-avahi.patch.txt
Description: Text document
avahi.c
Description: Text Data
|