- if (r->key->clazz == AVAHI_DNS_CLASS_IN) {
- if (r->key->type == AVAHI_DNS_TYPE_PTR) {
- enum_aux_records(s, i, r->data.ptr.name, AVAHI_DNS_TYPE_SRV, callback, userdata);
- enum_aux_records(s, i, r->data.ptr.name, AVAHI_DNS_TYPE_TXT, callback, userdata);
- } else if (r->key->type == AVAHI_DNS_TYPE_SRV) {
- enum_aux_records(s, i, r->data.srv.name, AVAHI_DNS_TYPE_A, callback, userdata);
- enum_aux_records(s, i, r->data.srv.name, AVAHI_DNS_TYPE_AAAA, callback, userdata);
- } else if (r->key->type == AVAHI_DNS_TYPE_CNAME)
- enum_aux_records(s, i, r->data.cname.name, AVAHI_DNS_TYPE_ANY, callback, userdata);
+ if (r->key->clazz == CATTA_DNS_CLASS_IN) {
+ if (r->key->type == CATTA_DNS_TYPE_PTR) {
+ enum_aux_records(s, i, r->data.ptr.name, CATTA_DNS_TYPE_SRV, callback, userdata);
+ enum_aux_records(s, i, r->data.ptr.name, CATTA_DNS_TYPE_TXT, callback, userdata);
+ } else if (r->key->type == CATTA_DNS_TYPE_SRV) {
+ enum_aux_records(s, i, r->data.srv.name, CATTA_DNS_TYPE_A, callback, userdata);
+ enum_aux_records(s, i, r->data.srv.name, CATTA_DNS_TYPE_AAAA, callback, userdata);
+ } else if (r->key->type == CATTA_DNS_TYPE_CNAME)
+ enum_aux_records(s, i, r->data.cname.name, CATTA_DNS_TYPE_ANY, callback, userdata);