Searched refs:rectype (Results 1 – 2 of 2) sorted by relevance
/PHP-8.0/ext/standard/ |
H A D | dns_win32.c | 97 char *hostname, *rectype = NULL; in PHP_FUNCTION() local 113 if (rectype) { in PHP_FUNCTION() 114 if (!strcasecmp("A", rectype)) type = DNS_TYPE_A; in PHP_FUNCTION() 115 else if (!strcasecmp("NS", rectype)) type = DNS_TYPE_NS; in PHP_FUNCTION() 116 else if (!strcasecmp("MX", rectype)) type = DNS_TYPE_MX; in PHP_FUNCTION() 117 else if (!strcasecmp("PTR", rectype)) type = DNS_TYPE_PTR; in PHP_FUNCTION() 118 else if (!strcasecmp("ANY", rectype)) type = DNS_TYPE_ANY; in PHP_FUNCTION() 119 else if (!strcasecmp("SOA", rectype)) type = DNS_TYPE_SOA; in PHP_FUNCTION() 120 else if (!strcasecmp("TXT", rectype)) type = DNS_TYPE_TEXT; in PHP_FUNCTION() 123 else if (!strcasecmp("SRV", rectype)) type = DNS_TYPE_SRV; in PHP_FUNCTION() [all …]
|
H A D | dns.c | 358 char *hostname, *rectype = NULL; in PHP_FUNCTION() local 373 Z_PARAM_STRING(rectype, rectype_len) in PHP_FUNCTION() 381 if (rectype) { in PHP_FUNCTION() 382 if (!strcasecmp("A", rectype)) type = DNS_T_A; in PHP_FUNCTION() 383 else if (!strcasecmp("NS", rectype)) type = DNS_T_NS; in PHP_FUNCTION() 384 else if (!strcasecmp("MX", rectype)) type = DNS_T_MX; in PHP_FUNCTION() 385 else if (!strcasecmp("PTR", rectype)) type = DNS_T_PTR; in PHP_FUNCTION() 386 else if (!strcasecmp("ANY", rectype)) type = DNS_T_ANY; in PHP_FUNCTION() 387 else if (!strcasecmp("SOA", rectype)) type = DNS_T_SOA; in PHP_FUNCTION() 388 else if (!strcasecmp("CAA", rectype)) type = DNS_T_CAA; in PHP_FUNCTION() [all …]
|
Completed in 10 milliseconds