Lines Matching refs:result
16 #include <dns/result.h>
341 isc_result_t result;
343 result = isc_result_register(ISC_RESULTCLASS_DNS, DNS_R_NRESULTS,
345 if (result == ISC_R_SUCCESS)
346 result = isc_result_register(ISC_RESULTCLASS_DNSRCODE,
350 if (result != ISC_R_SUCCESS)
352 "isc_result_register() failed: %u", result);
354 result = isc_result_registerids(ISC_RESULTCLASS_DNS, DNS_R_NRESULTS,
356 if (result == ISC_R_SUCCESS)
357 result = isc_result_registerids(ISC_RESULTCLASS_DNSRCODE,
361 if (result != ISC_R_SUCCESS)
363 "isc_result_registerids() failed: %u", result);
373 dns_result_totext(isc_result_t result) {
376 return (isc_result_totext(result));
385 dns_result_torcode(isc_result_t result) {
388 if (DNS_RESULT_ISRCODE(result)) {
393 return ((dns_rcode_t)((result) & 0xFFF));
399 switch (result) {