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

/PHP_TRUNK/ext/standard/
H A Ddns.c347 char *hostname, *rectype = NULL; local
359 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &hostname, &hostname_len, &rectype, &rectype_len) == FAILURE) {
368 if (rectype) {
369 if (!strcasecmp("A", rectype)) type = T_A;
370 else if (!strcasecmp("NS", rectype)) type = DNS_T_NS;
371 else if (!strcasecmp("MX", rectype)) type = DNS_T_MX;
372 else if (!strcasecmp("PTR", rectype)) type = DNS_T_PTR;
373 else if (!strcasecmp("ANY", rectype)) type = DNS_T_ANY;
374 else if (!strcasecmp("SOA", rectype)) type = DNS_T_SOA;
375 else if (!strcasecmp("TXT", rectype)) typ
[all...]
H A Ddns_win32.c95 char *hostname, *rectype = NULL; local
102 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &hostname, &hostname_len, &rectype, &rectype_len) == FAILURE) {
111 if (rectype) {
112 if (!strcasecmp("A", rectype)) type = DNS_TYPE_A;
113 else if (!strcasecmp("NS", rectype)) type = DNS_TYPE_NS;
114 else if (!strcasecmp("MX", rectype)) type = DNS_TYPE_MX;
115 else if (!strcasecmp("PTR", rectype)) type = DNS_TYPE_PTR;
116 else if (!strcasecmp("ANY", rectype)) type = DNS_TYPE_ANY;
117 else if (!strcasecmp("SOA", rectype)) type = DNS_TYPE_SOA;
118 else if (!strcasecmp("TXT", rectype)) typ
[all...]

Completed in 6 milliseconds