Lines Matching refs:rectype
359 char *hostname, *rectype = NULL; in PHP_FUNCTION() local
371 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &hostname, &hostname_len, &rectype, &r… in PHP_FUNCTION()
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()
388 else if (!strcasecmp("CNAME", rectype)) type = DNS_T_CNAME; in PHP_FUNCTION()
389 else if (!strcasecmp("AAAA", rectype)) type = DNS_T_AAAA; in PHP_FUNCTION()
390 else if (!strcasecmp("SRV", rectype)) type = DNS_T_SRV; in PHP_FUNCTION()
391 else if (!strcasecmp("NAPTR", rectype)) type = DNS_T_NAPTR; in PHP_FUNCTION()
392 else if (!strcasecmp("A6", rectype)) type = DNS_T_A6; in PHP_FUNCTION()
394 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Type '%s' not supported", rectype); in PHP_FUNCTION()