Lines Matching refs:type_to_fetch

144 static void php_parserr(PDNS_RECORD pRec, int type_to_fetch, int store, int raw, zval *subarray)  in php_parserr()  argument
154 if (type_to_fetch != DNS_TYPE_ANY && type != type_to_fetch) { in php_parserr()
354 int type, type_to_fetch, first_query = 1, store_results = 1; in PHP_FUNCTION() local
408 type_to_fetch = type_param; in PHP_FUNCTION()
413 type_to_fetch = type_param&PHP_DNS_A ? DNS_TYPE_A : 0; in PHP_FUNCTION()
416 type_to_fetch = type_param&PHP_DNS_NS ? DNS_TYPE_NS : 0; in PHP_FUNCTION()
419 type_to_fetch = type_param&PHP_DNS_CNAME ? DNS_TYPE_CNAME : 0; in PHP_FUNCTION()
422 type_to_fetch = type_param&PHP_DNS_SOA ? DNS_TYPE_SOA : 0; in PHP_FUNCTION()
425 type_to_fetch = type_param&PHP_DNS_PTR ? DNS_TYPE_PTR : 0; in PHP_FUNCTION()
428 type_to_fetch = type_param&PHP_DNS_HINFO ? DNS_TYPE_HINFO : 0; in PHP_FUNCTION()
431 type_to_fetch = type_param&PHP_DNS_MX ? DNS_TYPE_MX : 0; in PHP_FUNCTION()
434 type_to_fetch = type_param&PHP_DNS_TXT ? DNS_TYPE_TEXT : 0; in PHP_FUNCTION()
437 type_to_fetch = type_param&PHP_DNS_AAAA ? DNS_TYPE_AAAA : 0; in PHP_FUNCTION()
440 type_to_fetch = type_param&PHP_DNS_SRV ? DNS_TYPE_SRV : 0; in PHP_FUNCTION()
443 type_to_fetch = type_param&PHP_DNS_NAPTR ? DNS_TYPE_NAPTR : 0; in PHP_FUNCTION()
446 type_to_fetch = type_param&PHP_DNS_A6 ? DNS_TYPE_A6 : 0; in PHP_FUNCTION()
453 type_to_fetch = DNS_TYPE_ANY; in PHP_FUNCTION()
457 if (type_to_fetch) { in PHP_FUNCTION()
458 status = DnsQuery_A(hostname, type_to_fetch, DNS_QUERY_STANDARD, NULL, &pResult, NULL); in PHP_FUNCTION()
474 php_parserr(pRec, type_to_fetch, store_results, raw, &retval); in PHP_FUNCTION()
482 php_parserr(pRec, type_to_fetch, 1, raw, &retval); in PHP_FUNCTION()
497 php_parserr(pRec, type_to_fetch, 1, raw, &retval); in PHP_FUNCTION()