rectype           359 ext/standard/dns.c 	char *hostname, *rectype = NULL;
rectype           371 ext/standard/dns.c 	if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s", &hostname, &hostname_len, &rectype, &rectype_len) == FAILURE) {
rectype           380 ext/standard/dns.c 	if (rectype) {
rectype           381 ext/standard/dns.c 		if (!strcasecmp("A",     rectype)) type = T_A;
rectype           382 ext/standard/dns.c 		else if (!strcasecmp("NS",    rectype)) type = DNS_T_NS;
rectype           383 ext/standard/dns.c 		else if (!strcasecmp("MX",    rectype)) type = DNS_T_MX;
rectype           384 ext/standard/dns.c 		else if (!strcasecmp("PTR",   rectype)) type = DNS_T_PTR;
rectype           385 ext/standard/dns.c 		else if (!strcasecmp("ANY",   rectype)) type = DNS_T_ANY;
rectype           386 ext/standard/dns.c 		else if (!strcasecmp("SOA",   rectype)) type = DNS_T_SOA;
rectype           387 ext/standard/dns.c 		else if (!strcasecmp("TXT",   rectype)) type = DNS_T_TXT;
rectype           388 ext/standard/dns.c 		else if (!strcasecmp("CNAME", rectype)) type = DNS_T_CNAME;
rectype           389 ext/standard/dns.c 		else if (!strcasecmp("AAAA",  rectype)) type = DNS_T_AAAA;
rectype           390 ext/standard/dns.c 		else if (!strcasecmp("SRV",   rectype)) type = DNS_T_SRV;
rectype           391 ext/standard/dns.c 		else if (!strcasecmp("NAPTR", rectype)) type = DNS_T_NAPTR;
rectype           392 ext/standard/dns.c 		else if (!strcasecmp("A6",    rectype)) type = DNS_T_A6;
rectype           394 ext/standard/dns.c 			php_error_docref(NULL, E_WARNING, "Type '%s' not supported", rectype);
rectype            95 ext/standard/dns_win32.c 	char *hostname, *rectype = NULL;
rectype           102 ext/standard/dns_win32.c 	if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s", &hostname, &hostname_len, &rectype, &rectype_len) == FAILURE) {
rectype           111 ext/standard/dns_win32.c 	if (rectype) {
rectype           112 ext/standard/dns_win32.c 		     if (!strcasecmp("A",     rectype)) type = DNS_TYPE_A;
rectype           113 ext/standard/dns_win32.c 		else if (!strcasecmp("NS",    rectype)) type = DNS_TYPE_NS;
rectype           114 ext/standard/dns_win32.c 		else if (!strcasecmp("MX",    rectype)) type = DNS_TYPE_MX;
rectype           115 ext/standard/dns_win32.c 		else if (!strcasecmp("PTR",   rectype)) type = DNS_TYPE_PTR;
rectype           116 ext/standard/dns_win32.c 		else if (!strcasecmp("ANY",   rectype)) type = DNS_TYPE_ANY;
rectype           117 ext/standard/dns_win32.c 		else if (!strcasecmp("SOA",   rectype)) type = DNS_TYPE_SOA;
rectype           118 ext/standard/dns_win32.c 		else if (!strcasecmp("TXT",   rectype)) type = DNS_TYPE_TEXT;
rectype           119 ext/standard/dns_win32.c 		else if (!strcasecmp("CNAME", rectype)) type = DNS_TYPE_CNAME;
rectype           120 ext/standard/dns_win32.c 		else if (!strcasecmp("AAAA",  rectype)) type = DNS_TYPE_AAAA;
rectype           121 ext/standard/dns_win32.c 		else if (!strcasecmp("SRV",   rectype)) type = DNS_TYPE_SRV;
rectype           122 ext/standard/dns_win32.c 		else if (!strcasecmp("NAPTR", rectype)) type = DNS_TYPE_NAPTR;
rectype           123 ext/standard/dns_win32.c 		else if (!strcasecmp("A6",    rectype)) type = DNS_TYPE_A6;
rectype           125 ext/standard/dns_win32.c 			php_error_docref(NULL, E_WARNING, "Type '%s' not supported", rectype);