From b7856d26753e35faf2e422fba51bf8673aaa4175 Mon Sep 17 00:00:00 2001 From: Matthijs Mekking Date: Tue, 10 Nov 2020 15:23:12 +0100 Subject: [PATCH] Cleanup duplicate definitions in query.h --- lib/ns/include/ns/query.h | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/lib/ns/include/ns/query.h b/lib/ns/include/ns/query.h index 734f1baf1f..40f1f30ba9 100644 --- a/lib/ns/include/ns/query.h +++ b/lib/ns/include/ns/query.h @@ -174,11 +174,6 @@ struct query_ctx { int line; /* line to report error */ }; -/* - * The following functions are expected to be used only within query.c - * and query modules. - */ - isc_result_t ns_query_done(query_ctx_t *qctx); /*%< @@ -219,29 +214,6 @@ ns_query_cancel(ns_client_t *client); * and query modules. */ -isc_result_t -ns_query_done(query_ctx_t *qctx); -/*%< - * Finalize this phase of the query process: - * - * - Clean up. - * - If we have an answer ready (positive or negative), send it. - * - If we need to restart for a chaining query, call ns__query_start() again. - * - If we've started recursion, then just clean up; things will be - * restarted via fetch_callback()/query_resume(). - */ - -isc_result_t -ns_query_recurse(ns_client_t *client, dns_rdatatype_t qtype, dns_name_t *qname, - dns_name_t *qdomain, dns_rdataset_t *nameservers, - bool resuming); -/*%< - * Prepare client for recursion, then create a resolver fetch, with - * the event callback set to fetch_callback(). Afterward we terminate - * this phase of the query, and resume with a new query context when - * recursion completes. - */ - isc_result_t ns__query_sfcache(query_ctx_t *qctx); /*%<