mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-04 16:45:24 +00:00
added dns_tkey_destroy
This commit is contained in:
@@ -32,6 +32,7 @@
|
|||||||
|
|
||||||
#include <dns/dbtable.h>
|
#include <dns/dbtable.h>
|
||||||
#include <dns/tsig.h>
|
#include <dns/tsig.h>
|
||||||
|
#include <dns/tkey.h>
|
||||||
#include <dns/result.h>
|
#include <dns/result.h>
|
||||||
|
|
||||||
#include <dst/result.h>
|
#include <dst/result.h>
|
||||||
@@ -280,6 +281,7 @@ static void
|
|||||||
cleanup() {
|
cleanup() {
|
||||||
destroy_managers();
|
destroy_managers();
|
||||||
dns_tsig_destroy();
|
dns_tsig_destroy();
|
||||||
|
dns_tkey_destroy();
|
||||||
isc_rwlock_destroy(&ns_g_viewlock);
|
isc_rwlock_destroy(&ns_g_viewlock);
|
||||||
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
|
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
|
||||||
ISC_LOG_NOTICE, "exiting");
|
ISC_LOG_NOTICE, "exiting");
|
||||||
|
@@ -345,6 +345,7 @@ main(int argc, char *argv[]) {
|
|||||||
isc_timermgr_destroy(&timermgr);
|
isc_timermgr_destroy(&timermgr);
|
||||||
|
|
||||||
dns_tsig_destroy();
|
dns_tsig_destroy();
|
||||||
|
dns_tkey_destroy();
|
||||||
if (verbose)
|
if (verbose)
|
||||||
isc_mem_stats(mctx, stdout);
|
isc_mem_stats(mctx, stdout);
|
||||||
isc_mem_destroy(&mctx);
|
isc_mem_destroy(&mctx);
|
||||||
|
@@ -52,6 +52,12 @@ dns_tkey_init(isc_log_t *lctx, dns_c_ctx_t *cfg, isc_mem_t *mctx);
|
|||||||
* return codes from dns_name_fromtext()
|
* return codes from dns_name_fromtext()
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
void
|
||||||
|
dns_tkey_destroy(void);
|
||||||
|
/*
|
||||||
|
* Frees all data associated with the TKEY subsystem
|
||||||
|
*/
|
||||||
|
|
||||||
isc_result_t
|
isc_result_t
|
||||||
dns_tkey_processquery(dns_message_t *msg);
|
dns_tkey_processquery(dns_message_t *msg);
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user