From 16804ba3b7470cd5d53890f52de823cd9dd2152a Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Fri, 14 Jan 2000 23:55:26 +0000 Subject: [PATCH] fix some inaccuracies in the documentation of dns_view_find() --- lib/dns/include/dns/view.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/lib/dns/include/dns/view.h b/lib/dns/include/dns/view.h index 1e41e2a614..f87829819b 100644 --- a/lib/dns/include/dns/view.h +++ b/lib/dns/include/dns/view.h @@ -295,16 +295,18 @@ dns_view_find(dns_view_t *view, dns_name_t *name, dns_rdatatype_t type, * * Ensures: * - * If the result is ISC_R_SUCCESS or DNS_R_GLUE, then 'rdataset', and - * possibly 'sigrdataset', are bound to the found data. + * In successful cases, 'rdataset', and possibly 'sigrdataset', are + * bound to the found data. * * Returns: * - * ISC_R_SUCCESS Success. - * DNS_R_GLUE Success; result is glue. - * DNS_R_HINT Success; result is a hint. - * ISC_R_NOTFOUND No matching data found, - * or an error occurred. + * ISC_R_SUCCESS Success. + * DNS_R_GLUE Success; result is glue. + * DNS_R_HINT Success; result is a hint. + * DNS_R_NCACHENXDOMAIN Success; result is a ncache entry. + * DNS_R_NCACHENXRRSET Success; result is a ncache entry. + * ISC_R_NOTFOUND No matching data found, + * or an error occurred. */ isc_result_t