Logo Search packages:      
Sourcecode: avahi version File versions  Download package

void avahi_s_domain_browser_free ( AvahiSDomainBrowser b  ) 

Free an AvahiSDomainBrowser object

Definition at line 219 of file browse-domain.c.

References AVAHI_LLIST_REMOVE.

                                                         {
    assert(b);

    assert(b->ref >= 1);
    if (--b->ref > 0)
        return;

    AVAHI_LLIST_REMOVE(AvahiSDomainBrowser, browser, b->server->domain_browsers, b);

    if (b->record_browser)
        avahi_s_record_browser_free(b->record_browser);

    if (b->defer_event)
        avahi_time_event_free(b->defer_event);

    avahi_free(b);
}


Generated by  Doxygen 1.6.0   Back to index