Searched refs:dn (Results 1 – 2 of 2) sorted by relevance
147 int res_hnok(const char* dn) { in res_hnok() argument148 int pch = PERIOD, ch = *dn++; in res_hnok()151 int nch = *dn++; in res_hnok()171 int res_ownok(const char* dn) { in res_ownok() argument172 if (asterchar(dn[0])) { in res_ownok()173 if (periodchar(dn[1])) return (res_hnok(dn + 2)); in res_ownok()174 if (dn[1] == '\0') return (1); in res_ownok()176 return (res_hnok(dn)); in res_ownok()183 int res_mailok(const char* dn) { in res_mailok() argument187 if (*dn == '\0') return (1); in res_mailok()[all …]
94 #define maybe_dnok(res, dn) maybe_ok((res), (dn), res_dnok) argument