Searched refs:rectype (Results 1 – 2 of 2) sorted by relevance
/PHP-5.4/ext/standard/ |
H A D | dns_win32.c | 95 char *hostname, *rectype = NULL; in PHP_FUNCTION() local 111 if (rectype) { in PHP_FUNCTION() 112 if (!strcasecmp("A", rectype)) type = DNS_TYPE_A; in PHP_FUNCTION() 113 else if (!strcasecmp("NS", rectype)) type = DNS_TYPE_NS; in PHP_FUNCTION() 114 else if (!strcasecmp("MX", rectype)) type = DNS_TYPE_MX; in PHP_FUNCTION() 115 else if (!strcasecmp("PTR", rectype)) type = DNS_TYPE_PTR; in PHP_FUNCTION() 116 else if (!strcasecmp("ANY", rectype)) type = DNS_TYPE_ANY; in PHP_FUNCTION() 117 else if (!strcasecmp("SOA", rectype)) type = DNS_TYPE_SOA; in PHP_FUNCTION() 118 else if (!strcasecmp("TXT", rectype)) type = DNS_TYPE_TEXT; in PHP_FUNCTION() 121 else if (!strcasecmp("SRV", rectype)) type = DNS_TYPE_SRV; in PHP_FUNCTION() [all …]
|
H A D | dns.c | 359 char *hostname, *rectype = NULL; in PHP_FUNCTION() local 380 if (rectype) { in PHP_FUNCTION() 381 if (!strcasecmp("A", rectype)) type = T_A; in PHP_FUNCTION() 382 else if (!strcasecmp("NS", rectype)) type = DNS_T_NS; in PHP_FUNCTION() 383 else if (!strcasecmp("MX", rectype)) type = DNS_T_MX; in PHP_FUNCTION() 384 else if (!strcasecmp("PTR", rectype)) type = DNS_T_PTR; in PHP_FUNCTION() 385 else if (!strcasecmp("ANY", rectype)) type = DNS_T_ANY; in PHP_FUNCTION() 386 else if (!strcasecmp("SOA", rectype)) type = DNS_T_SOA; in PHP_FUNCTION() 387 else if (!strcasecmp("TXT", rectype)) type = DNS_T_TXT; in PHP_FUNCTION() 390 else if (!strcasecmp("SRV", rectype)) type = DNS_T_SRV; in PHP_FUNCTION() [all …]
|
Completed in 7 milliseconds