Home | History | Annotate | Download | only in mDNSShared

Lines Matching defs:txt

219 			const ResourceRecord *txt;
710 freeL("TXT RData", srv->srs.RR_TXT.resrec.rdata);
1163 // 1. We have updated the primary TXT record of the service
1164 // 2. We have updated the TXT record that was added to the service using DNSServiceAddRecord
1165 // 3. We have updated the TXT record that was registered using DNSServiceRegisterRecord
1192 // BIND named (name daemon) doesn't allow TXT records with zero-length rdata. This is strictly speaking correct,
1193 // since RFC 1035 specifies a TXT record as "One or more <character-string>s", not "Zero or more <character-string>s".
1194 // Since some legacy apps try to create zero-length TXT records, we'll silently correct it here.
1195 if (rr->resrec.rrtype == kDNSType_TXT && rdlen == 0) { rdlen = 1; newrd->u.txt.c[0] = 0; }
1248 // update the saved off TXT data for the service
2235 if (req->u.resolve.txt == answer) req->u.resolve.txt = mDNSNULL;
2240 if (answer->rrtype == kDNSType_TXT) req->u.resolve.txt = answer;
2242 if (!req->u.resolve.txt || !req->u.resolve.srv) return; // only deliver result to client if we have both answers
2254 len += req->u.resolve.txt->rdlength;
2269 put_uint16(req->u.resolve.txt->rdlength, &data);
2270 put_rdata (req->u.resolve.txt->rdlength, req->u.resolve.txt->rdata->u.data, &data);