Cleanup duplicate definitions in query.h

This commit is contained in:
Matthijs Mekking 2020-11-10 15:23:12 +01:00
parent 152f49b6c3
commit b7856d2675

View 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);
/*%<