Lines Matching defs:qinfo
452 struct query_info qinfo;
459 qinfo.qtype = sldns_get_rr_type_by_name(cl);
460 qinfo.qclass = sldns_get_rr_class_by_name(tp);
461 if((qinfo.qtype == 0 && strcmp(cl, "TYPE0") != 0) ||
462 (qinfo.qclass == 0 && strcmp(tp, "CLASS0") != 0)) {
466 qinfo.qtype = sldns_get_rr_type_by_name(tp);
467 qinfo.qclass = sldns_get_rr_class_by_name(cl);
468 if((qinfo.qtype == 0 && strcmp(tp, "TYPE0") != 0) ||
469 (qinfo.qclass == 0 && strcmp(cl, "CLASS0") != 0)) {
478 qinfo.qname = sldns_str2wire_dname(nm, &qinfo.qname_len);
479 if(!qinfo.qname)
481 qinfo.local_alias = NULL;
482 qinfo_query_encode(buf, &qinfo);
494 free(qinfo.qname);