Lines Matching refs:type_to_fetch

141 static void php_parserr(PDNS_RECORD pRec, int type_to_fetch, int store, zval **subarray)  in php_parserr()  argument
149 if (type_to_fetch != DNS_TYPE_ANY && type != type_to_fetch) { in php_parserr()
344 int type, type_to_fetch, first_query = 1, store_results = 1; in PHP_FUNCTION() local
377 type_to_fetch = type_param&PHP_DNS_A ? DNS_TYPE_A : 0; in PHP_FUNCTION()
380 type_to_fetch = type_param&PHP_DNS_NS ? DNS_TYPE_NS : 0; in PHP_FUNCTION()
383 type_to_fetch = type_param&PHP_DNS_CNAME ? DNS_TYPE_CNAME : 0; in PHP_FUNCTION()
386 type_to_fetch = type_param&PHP_DNS_SOA ? DNS_TYPE_SOA : 0; in PHP_FUNCTION()
389 type_to_fetch = type_param&PHP_DNS_PTR ? DNS_TYPE_PTR : 0; in PHP_FUNCTION()
392 type_to_fetch = type_param&PHP_DNS_HINFO ? DNS_TYPE_HINFO : 0; in PHP_FUNCTION()
395 type_to_fetch = type_param&PHP_DNS_MX ? DNS_TYPE_MX : 0; in PHP_FUNCTION()
398 type_to_fetch = type_param&PHP_DNS_TXT ? DNS_TYPE_TEXT : 0; in PHP_FUNCTION()
401 type_to_fetch = type_param&PHP_DNS_AAAA ? DNS_TYPE_AAAA : 0; in PHP_FUNCTION()
404 type_to_fetch = type_param&PHP_DNS_SRV ? DNS_TYPE_SRV : 0; in PHP_FUNCTION()
407 type_to_fetch = type_param&PHP_DNS_NAPTR ? DNS_TYPE_NAPTR : 0; in PHP_FUNCTION()
410 type_to_fetch = type_param&PHP_DNS_A6 ? DNS_TYPE_A6 : 0; in PHP_FUNCTION()
417 type_to_fetch = DNS_TYPE_ANY; in PHP_FUNCTION()
421 if (type_to_fetch) { in PHP_FUNCTION()
422 status = DnsQuery_A(hostname, type_to_fetch, DNS_QUERY_STANDARD, NULL, &pResult, NULL); in PHP_FUNCTION()
439 php_parserr(pRec, type_to_fetch, store_results, &retval); in PHP_FUNCTION()
447 php_parserr(pRec, type_to_fetch, store_results, &retval); in PHP_FUNCTION()
462 php_parserr(pRec, type_to_fetch, store_results, &retval); in PHP_FUNCTION()