MCPcopy Create free account
hub / github.com/apache/httpd / md_dns_is_wildcard

Function md_dns_is_wildcard

modules/md/md_util.c:852–856  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

850}
851
852int md_dns_is_wildcard(apr_pool_t *p, const char *domain)
853{
854 if (domain[0] != '*' || domain[1] != '.') return 0;
855 return md_dns_is_name(p, domain+2, 1);
856}
857
858int md_dns_matches(const char *pattern, const char *domain)
859{

Callers 3

link_md_to_serversFunction · 0.85
md_dns_make_minimalFunction · 0.85
check_valuesFunction · 0.85

Calls 1

md_dns_is_nameFunction · 0.85

Tested by

no test coverage detected