Home
last modified time | relevance | path

Searched refs:rectype (Results 1 – 2 of 2) sorted by relevance

/php-src/ext/standard/
H A Ddns_win32.c100 zend_string *rectype = NULL; in PHP_FUNCTION() local
115 if (rectype) { in PHP_FUNCTION()
116 if (zend_string_equals_literal_ci(rectype, "A")) type = DNS_TYPE_A; in PHP_FUNCTION()
117 else if (zend_string_equals_literal_ci(rectype, "NS")) type = DNS_TYPE_NS; in PHP_FUNCTION()
118 else if (zend_string_equals_literal_ci(rectype, "MX")) type = DNS_TYPE_MX; in PHP_FUNCTION()
119 else if (zend_string_equals_literal_ci(rectype, "PTR")) type = DNS_TYPE_PTR; in PHP_FUNCTION()
120 else if (zend_string_equals_literal_ci(rectype, "ANY")) type = DNS_TYPE_ANY; in PHP_FUNCTION()
121 else if (zend_string_equals_literal_ci(rectype, "SOA")) type = DNS_TYPE_SOA; in PHP_FUNCTION()
122 else if (zend_string_equals_literal_ci(rectype, "TXT")) type = DNS_TYPE_TEXT; in PHP_FUNCTION()
125 else if (zend_string_equals_literal_ci(rectype, "SRV")) type = DNS_TYPE_SRV; in PHP_FUNCTION()
[all …]
H A Ddns.c373 zend_string *rectype = NULL; in PHP_FUNCTION() local
387 Z_PARAM_STR(rectype) in PHP_FUNCTION()
395 if (rectype) { in PHP_FUNCTION()
396 if (zend_string_equals_literal_ci(rectype, "A")) type = DNS_T_A; in PHP_FUNCTION()
397 else if (zend_string_equals_literal_ci(rectype, "NS")) type = DNS_T_NS; in PHP_FUNCTION()
398 else if (zend_string_equals_literal_ci(rectype, "MX")) type = DNS_T_MX; in PHP_FUNCTION()
399 else if (zend_string_equals_literal_ci(rectype, "PTR")) type = DNS_T_PTR; in PHP_FUNCTION()
400 else if (zend_string_equals_literal_ci(rectype, "ANY")) type = DNS_T_ANY; in PHP_FUNCTION()
401 else if (zend_string_equals_literal_ci(rectype, "SOA")) type = DNS_T_SOA; in PHP_FUNCTION()
402 else if (zend_string_equals_literal_ci(rectype, "CAA")) type = DNS_T_CAA; in PHP_FUNCTION()
[all …]

Completed in 8 milliseconds