Lines Matching refs:pRec

51 	PDNS_RECORD     pResult, pRec;          /* Pointer to DNS_RECORD structure */  in PHP_FUNCTION()  local
71 for (pRec = pResult; pRec; pRec = pRec->pNext) { in PHP_FUNCTION()
72 DNS_SRV_DATA *srv = &pRec->Data.Srv; in PHP_FUNCTION()
74 if (pRec->wType != DNS_TYPE_MX) { in PHP_FUNCTION()
78 add_next_index_string(mx_list, pRec->Data.MX.pNameExchange, 1); in PHP_FUNCTION()
141 static void php_parserr(PDNS_RECORD pRec, int type_to_fetch, int store, int raw, zval **subarray) in php_parserr() argument
146 type = pRec->wType; in php_parserr()
147 ttl = pRec->dwTtl; in php_parserr()
160 add_assoc_string(*subarray, "host", pRec->pName, 1); in php_parserr()
166 add_assoc_stringl(*subarray, "data", (char*) &pRec->Data, (uint) pRec->wDataLength, 1); in php_parserr()
173 ipaddr.S_un.S_addr = (pRec->Data.A.IpAddress); in php_parserr()
181 add_assoc_long(*subarray, "pri", pRec->Data.Srv.wPriority); in php_parserr()
200 add_assoc_string(*subarray, "target", pRec->Data.MX.pNameExchange, 1); in php_parserr()
208 DNS_TXT_DATA *data_txt = &pRec->Data.TXT; in php_parserr()
239 DNS_SOA_DATA *data_soa = &pRec->Data.Soa; in php_parserr()
255 DNS_AAAA_DATA *data_aaaa = &pRec->Data.AAAA; in php_parserr()
310 DNS_SRV_DATA *data_srv = &pRec->Data.Srv; in php_parserr()
323 DNS_NAPTR_DATA * data_naptr = &pRec->Data.Naptr; in php_parserr()
400 PDNS_RECORD pResult, pRec; /* Pointer to DNS_RECORD structure */ in PHP_FUNCTION() local
467 for (pRec = pResult; pRec; pRec = pRec->pNext) { in PHP_FUNCTION()
468 DNS_SRV_DATA *srv = &pRec->Data.Srv; in PHP_FUNCTION()
471 if (pRec->Flags.S.Section == DnsSectionAnswer) { in PHP_FUNCTION()
472 php_parserr(pRec, type_to_fetch, store_results, raw, &retval); in PHP_FUNCTION()
478 if (authns && pRec->Flags.S.Section == DnsSectionAuthority) { in PHP_FUNCTION()
480 php_parserr(pRec, type_to_fetch, 1, raw, &retval); in PHP_FUNCTION()
494 if (addtl && pRec->Flags.S.Section == DnsSectionAdditional) { in PHP_FUNCTION()
495 php_parserr(pRec, type_to_fetch, 1, raw, &retval); in PHP_FUNCTION()