]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Cleanup duplicate definitions in query.h
authorMatthijs Mekking <matthijs@isc.org>
Tue, 10 Nov 2020 14:23:12 +0000 (15:23 +0100)
committerMatthijs Mekking <matthijs@isc.org>
Tue, 10 Nov 2020 14:42:47 +0000 (14:42 +0000)
lib/ns/include/ns/query.h

index 734f1baf1f4bfa4f68bf959d31e75b9addb6263e..40f1f30ba9a1b236937748b2220f7df718ffc285 100644 (file)
@@ -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);
 /*%<