Lines Matching refs:regtype
167 domainname regtype;
550 mDNSlocal int build_domainname_from_strings(domainname *srv, char *name, char *regtype, char *domain)
556 if (!MakeDomainNameFromDNSNameString(&t, regtype)) return -1;
1404 mDNSexport mDNSs32 ChopSubTypes(char *regtype)
1407 char *stp = FindFirstSubType(regtype);
1608 { LogMsg("ERROR: handle_regservice_request - Couldn't read name/regtype/domain"); return(mStatus_BadParamErr); }
1635 request->u.servicereg.num_subtypes = ChopSubTypes(request->u.servicereg.type_as_string); // Note: Modifies regtype string to remove trailing subtypes
1746 if (SameDomainName(&req->u.browser.regtype, (const domainname*)"\x09_services\x07_dns-sd\x04_udp"))
1783 &info->u.browser.regtype, d, info->u.browser.interface_id, info->u.browser.ForceMCast, FoundInstance, info);
1786 LogMsg("mDNS_StartBrowse returned %d for type %##s domain %##s", err, info->u.browser.regtype.c, d->c);
1797 ConstructServiceName(&tmp, NULL, &info->u.browser.regtype, &b->domain);
1814 ConstructServiceName(&tmp, NULL, &info->u.browser.regtype, &ptr->domain);
2149 char regtype[MAX_ESCAPED_DOMAIN_NAME], domain[MAX_ESCAPED_DOMAIN_NAME];
2159 if (get_string(&request->msgptr, request->msgend, regtype, MAX_ESCAPED_DOMAIN_NAME) < 0 ||
2168 NumSubTypes = ChopSubTypes(regtype); // Note: Modifies regtype string to remove trailing subtypes
2170 if (NumSubTypes == 1 && !AppendDNSNameString(&typedn, regtype + strlen(regtype) + 1)) return(mStatus_BadParamErr);
2172 if (!regtype[0] || !AppendDNSNameString(&typedn, regtype)) return(mStatus_BadParamErr);
2174 if (!MakeDomainNameFromDNSNameString(&temp, regtype)) return(mStatus_BadParamErr);
2181 AssignDomainName(&request->u.browser.regtype, &typedn);
2186 request->sd, request->flags, interfaceIndex, request->u.browser.regtype.c, domain);
2290 char name[256], regtype[MAX_ESCAPED_DOMAIN_NAME], domain[MAX_ESCAPED_DOMAIN_NAME];
2309 get_string(&request->msgptr, request->msgend, regtype, MAX_ESCAPED_DOMAIN_NAME) < 0 ||
2311 { LogMsg("ERROR: handle_resolve_request - Couldn't read name/regtype/domain"); return(mStatus_BadParamErr); }
2315 if (build_domainname_from_strings(&fqdn, name, regtype, domain) < 0)
2316 { LogMsg("ERROR: handle_resolve_request bad ?%s? ?%s? ?%s?", name, regtype, domain); return(mStatus_BadParamErr); }