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; local 102 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &hostname, &hostname_len, &rectype, &rectype_len) == FAILURE) { 111 if (rectype) { 112 if (!strcasecmp("A", rectype)) type = DNS_TYPE_A; 113 else if (!strcasecmp("NS", rectype)) type = DNS_TYPE_NS; 114 else if (!strcasecmp("MX", rectype)) type = DNS_TYPE_MX; 115 else if (!strcasecmp("PTR", rectype)) type = DNS_TYPE_PTR; 116 else if (!strcasecmp("ANY", rectype)) type = DNS_TYPE_ANY; 117 else if (!strcasecmp("SOA", rectype)) type = DNS_TYPE_SOA; 118 else if (!strcasecmp("TXT", rectype)) typ [all...] |
| H A D | dns.c | 348 char *hostname, *rectype = NULL; local 360 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &hostname, &hostname_len, &rectype, &rectype_len) == FAILURE) { 369 if (rectype) { 370 if (!strcasecmp("A", rectype)) type = T_A; 371 else if (!strcasecmp("NS", rectype)) type = DNS_T_NS; 372 else if (!strcasecmp("MX", rectype)) type = DNS_T_MX; 373 else if (!strcasecmp("PTR", rectype)) type = DNS_T_PTR; 374 else if (!strcasecmp("ANY", rectype)) type = DNS_T_ANY; 375 else if (!strcasecmp("SOA", rectype)) type = DNS_T_SOA; 376 else if (!strcasecmp("TXT", rectype)) typ [all...] |
Completed in 4 milliseconds