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

void avahi_s_entry_group_free ( AvahiSEntryGroup g  ) 

Free an entry group. All RRs assigned to the group are removed from the server

Definition at line 1058 of file entry.c.

                                                   {
    AvahiEntry *e;
    
    assert(g);
    assert(g->server);

    for (e = g->entries; e; e = e->by_group_next) {
        if (!e->dead) {
            avahi_goodbye_entry(g->server, e, 1, 1);
            e->dead = 1;
        }
    }

    if (g->register_time_event) {
        avahi_time_event_free(g->register_time_event);
        g->register_time_event = NULL;
    }

    g->dead = 1;
    
    g->server->need_group_cleanup = 1;
    g->server->need_entry_cleanup = 1;
}


Generated by  Doxygen 1.6.0   Back to index