Searched refs:GetConfigOption (Results 1 - 1 of 1) sorted by relevance
/external/mdnsresponder/mDNSShared/ |
H A D | PlatformCommon.c | 85 mDNSlocal mDNSBool GetConfigOption(char *dst, const char *option, FILE *f) function 89 if (len + 1 + MAX_ESCAPED_DOMAIN_NAME > sizeof(buf)-1) { LogMsg("GetConfigOption: option %s too long", option); return mDNSfalse; } 118 if (DomainDiscoveryDisabled && GetConfigOption(buf, "DomainDiscoveryDisabled", f) && !strcasecmp(buf, "true")) *DomainDiscoveryDisabled = mDNStrue; 119 if (hostname && GetConfigOption(buf, "hostname", f) && !MakeDomainNameFromDNSNameString(hostname, buf)) goto badf; 120 if (domain && GetConfigOption(buf, "zone", f) && !MakeDomainNameFromDNSNameString(domain, buf)) goto badf; 122 GetConfigOption(buf, "secret-64", f); // failure means no authentication
|
Completed in 667 milliseconds