[avahi] Differences between core and client api examples

David Lambert dave at lambsys.com
Thu Aug 28 05:34:30 PDT 2008


Please could someone explain the reason for the following code, copied 
from the example client-publish-service.c? There does not appear to be a 
counterpart int the core-publish-service.c:


    /* After 10s do some weird modification to the service */
    avahi_simple_poll_get(simple_poll)->timeout_new(
        avahi_simple_poll_get(simple_poll),
        avahi_elapse_time(&tv, 1000*10, 0),
        modify_callback,
        client);

Best regards,

Dave.



More information about the avahi mailing list