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

int avahi_s_entry_group_is_empty ( AvahiSEntryGroup g  ) 

Return 1 if the entry group is empty, i.e. has no records attached.

Definition at line 1196 of file entry.c.

                                                      {
    AvahiEntry *e;
    assert(g);

    /* Look for an entry that is not dead */
    for (e = g->entries; e; e = e->by_group_next)
        if (!e->dead)
            return 0;

    return 1;
}


Generated by  Doxygen 1.6.0   Back to index