From 95e7cd1ecbaa41fbeb47982566d7dfbb9af855cf Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Mon, 26 Jun 2000 22:09:49 +0000 Subject: [PATCH] commented --- lib/dns/include/dns/resolver.h | 12 ++++++++---- lib/dns/include/dns/view.h | 5 ++++- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/lib/dns/include/dns/resolver.h b/lib/dns/include/dns/resolver.h index 1763b4fcfc..c8ffe38502 100644 --- a/lib/dns/include/dns/resolver.h +++ b/lib/dns/include/dns/resolver.h @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: resolver.h,v 1.27 2000/06/22 21:56:06 tale Exp $ */ +/* $Id: resolver.h,v 1.28 2000/06/26 22:09:37 gson Exp $ */ #ifndef DNS_RESOLVER_H #define DNS_RESOLVER_H 1 @@ -273,9 +273,13 @@ dns_resolver_createfetch(dns_resolver_t *res, dns_name_t *name, * * This call starts a query for 'name', type 'type'. * - * XXXRTH Explain query domain and nameservers. - * 'forwarders' is unimplemented, and subject to change when - * we figure out how selective forwarding will work. + * The 'domain' is a parent domain of 'name' for which + * a set of name servers 'nameservers' is known. If no + * such name server information is available, set + * 'domain' and 'nameservers' to NULL. + * + * 'forwarders' is unimplemented, and subject to change when + * we figure out how selective forwarding will work. * * When the fetch completes (successfully or otherwise), a * DNS_EVENT_FETCHDONE event with action 'action' and arg 'arg' will be diff --git a/lib/dns/include/dns/view.h b/lib/dns/include/dns/view.h index 30184de203..d5269334d8 100644 --- a/lib/dns/include/dns/view.h +++ b/lib/dns/include/dns/view.h @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: view.h,v 1.43 2000/06/22 21:56:23 tale Exp $ */ +/* $Id: view.h,v 1.44 2000/06/26 22:09:49 gson Exp $ */ #ifndef DNS_VIEW_H #define DNS_VIEW_H 1 @@ -485,6 +485,9 @@ dns_view_findzonecut(dns_view_t *view, dns_name_t *name, dns_name_t *fname, * If 'sigrdataset' is not NULL, and there is a SIG rdataset which * covers 'type', then 'sigrdataset' will be bound to it. * + * If the DNS_DBFIND_NOEXACT option is set, then the zonecut returned + * (if any) will be the deepest known ancestor of 'name'. + * * Requires: * * 'view' is a valid, frozen view.