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

unsigned avahi_key_hash ( const AvahiKey k )

Return a numeric hash value for a key for usage in hash tables.

Definition at line 357 of file rr.c.

References AvahiKey::clazz, AvahiKey::name, and AvahiKey::type.

                                           {
    assert(k);

    return
        avahi_domain_hash(k->name) +
        k->type +
        k->clazz;
}

Generated by  Doxygen 1.6.0   Back to index