Lines Matching refs:rectype
95 char *hostname, *rectype = NULL; in PHP_FUNCTION() local
102 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &hostname, &hostname_len, &rectype, &r… in PHP_FUNCTION()
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()
119 else if (!strcasecmp("CNAME", rectype)) type = DNS_TYPE_CNAME; in PHP_FUNCTION()
120 else if (!strcasecmp("AAAA", rectype)) type = DNS_TYPE_AAAA; in PHP_FUNCTION()
121 else if (!strcasecmp("SRV", rectype)) type = DNS_TYPE_SRV; in PHP_FUNCTION()
122 else if (!strcasecmp("NAPTR", rectype)) type = DNS_TYPE_NAPTR; in PHP_FUNCTION()
123 else if (!strcasecmp("A6", rectype)) type = DNS_TYPE_A6; in PHP_FUNCTION()
125 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Type '%s' not supported", rectype); in PHP_FUNCTION()