Lines Matching refs:rectype
348 char *hostname, *rectype = NULL; in PHP_FUNCTION() local
360 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &hostname, &hostname_len, &rectype, &r… in PHP_FUNCTION()
369 if (rectype) { in PHP_FUNCTION()
370 if (!strcasecmp("A", rectype)) type = T_A; in PHP_FUNCTION()
371 else if (!strcasecmp("NS", rectype)) type = DNS_T_NS; in PHP_FUNCTION()
372 else if (!strcasecmp("MX", rectype)) type = DNS_T_MX; in PHP_FUNCTION()
373 else if (!strcasecmp("PTR", rectype)) type = DNS_T_PTR; in PHP_FUNCTION()
374 else if (!strcasecmp("ANY", rectype)) type = DNS_T_ANY; in PHP_FUNCTION()
375 else if (!strcasecmp("SOA", rectype)) type = DNS_T_SOA; in PHP_FUNCTION()
376 else if (!strcasecmp("TXT", rectype)) type = DNS_T_TXT; in PHP_FUNCTION()
377 else if (!strcasecmp("CNAME", rectype)) type = DNS_T_CNAME; in PHP_FUNCTION()
378 else if (!strcasecmp("AAAA", rectype)) type = DNS_T_AAAA; in PHP_FUNCTION()
379 else if (!strcasecmp("SRV", rectype)) type = DNS_T_SRV; in PHP_FUNCTION()
380 else if (!strcasecmp("NAPTR", rectype)) type = DNS_T_NAPTR; in PHP_FUNCTION()
381 else if (!strcasecmp("A6", rectype)) type = DNS_T_A6; in PHP_FUNCTION()
383 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Type '%s' not supported", rectype); in PHP_FUNCTION()