[avahi] Is it possible to customize "#define AVAHI_DEFAULT_TTL_HOST_NAME" and "#define AVAHI_DEFAULT_TTL", rather than embedding them "statically" in the code?

Ajay Garg ajaygargnsit at gmail.com
Thu Jul 5 03:19:50 PDT 2012


Hi all.

I ran into a issue, as described at
https://bugs.freedesktop.org/show_bug.cgi?id=51501


I followed these steps ::

a)
I changed the values to

                                 #define AVAHI_DEFAULT_TTL_HOST_NAME (20)
                                 #define
AVAHI_DEFAULT_TTL                       (20)

b)
Re-compiled the RPMS


c)
Upgraded to these new RPMS on my F17.


And voila, the contacts-disappearance signals did emit (after about 20
seconds)  !!!


The same approach solved the issue on F14 as well !!!




So, now I intend to make the values of these 2 "#defines" customizable. My
queries are ::

(i)
Is it possible already?

(ii)
If answer to (i) is "no", perhaps GConf might help? The thing that worries
me is in what context should Gconf-entries be populated, since avahi runs
as a daemon.




Will be grateful to a reply.


Thanks and Regards,
Ajay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/avahi/attachments/20120705/01b5ef26/attachment.html>


More information about the avahi mailing list