Home
last modified time | relevance | path

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

/PHP-7.2/ext/standard/
H A Ddns_win32.c95 char *hostname, *rectype = NULL; in PHP_FUNCTION() local
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()
121 else if (!strcasecmp("SRV", rectype)) type = DNS_TYPE_SRV; in PHP_FUNCTION()
[all …]
H A Ddns.c358 char *hostname, *rectype = NULL; in PHP_FUNCTION() local
373 Z_PARAM_STRING(rectype, rectype_len) in PHP_FUNCTION()
381 if (rectype) { in PHP_FUNCTION()
382 if (!strcasecmp("A", rectype)) type = T_A; in PHP_FUNCTION()
383 else if (!strcasecmp("NS", rectype)) type = DNS_T_NS; in PHP_FUNCTION()
384 else if (!strcasecmp("MX", rectype)) type = DNS_T_MX; in PHP_FUNCTION()
385 else if (!strcasecmp("PTR", rectype)) type = DNS_T_PTR; in PHP_FUNCTION()
386 else if (!strcasecmp("ANY", rectype)) type = DNS_T_ANY; in PHP_FUNCTION()
387 else if (!strcasecmp("SOA", rectype)) type = DNS_T_SOA; in PHP_FUNCTION()
388 else if (!strcasecmp("CAA", rectype)) type = DNS_T_CAA; in PHP_FUNCTION()
[all …]

Completed in 37 milliseconds