Searched refs:type_param (Results 1 - 2 of 2) sorted by relevance

/PHP_5_3/ext/standard/
H A Ddns_win32.c342 long type_param = PHP_DNS_ANY; local
346 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lzz", &hostname, &hostname_len, &type_param, &authns, &addtl) == FAILURE) {
359 if (type_param & ~PHP_DNS_ALL && type_param != PHP_DNS_ANY) {
360 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Type '%ld' not supported", type_param);
367 for (type = (type_param == PHP_DNS_ANY ? (PHP_DNS_NUM_TYPES + 1) : 0);
377 type_to_fetch = type_param&PHP_DNS_A ? DNS_TYPE_A : 0;
380 type_to_fetch = type_param&PHP_DNS_NS ? DNS_TYPE_NS : 0;
383 type_to_fetch = type_param&PHP_DNS_CNAME ? DNS_TYPE_CNAME : 0;
386 type_to_fetch = type_param
[all...]
H A Ddns.c708 long type_param = PHP_DNS_ANY; local
725 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lzz", &hostname, &hostname_len, &type_param, &authns, &addtl) == FAILURE) {
738 if (type_param & ~PHP_DNS_ALL && type_param != PHP_DNS_ANY) {
739 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Type '%ld' not supported", type_param);
752 for (type = (type_param == PHP_DNS_ANY ? (PHP_DNS_NUM_TYPES + 1) : 0);
759 type_to_fetch = type_param&PHP_DNS_A ? DNS_T_A : 0;
762 type_to_fetch = type_param&PHP_DNS_NS ? DNS_T_NS : 0;
765 type_to_fetch = type_param&PHP_DNS_CNAME ? DNS_T_CNAME : 0;
768 type_to_fetch = type_param
[all...]

Completed in 5 milliseconds