mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
added dns_tkey_destroy
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
|
||||
#include <dns/dbtable.h>
|
||||
#include <dns/tsig.h>
|
||||
#include <dns/tkey.h>
|
||||
#include <dns/result.h>
|
||||
|
||||
#include <dst/result.h>
|
||||
@@ -280,6 +281,7 @@ static void
|
||||
cleanup() {
|
||||
destroy_managers();
|
||||
dns_tsig_destroy();
|
||||
dns_tkey_destroy();
|
||||
isc_rwlock_destroy(&ns_g_viewlock);
|
||||
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
|
||||
ISC_LOG_NOTICE, "exiting");
|
||||
|
@@ -345,6 +345,7 @@ main(int argc, char *argv[]) {
|
||||
isc_timermgr_destroy(&timermgr);
|
||||
|
||||
dns_tsig_destroy();
|
||||
dns_tkey_destroy();
|
||||
if (verbose)
|
||||
isc_mem_stats(mctx, stdout);
|
||||
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()
|
||||
*/
|
||||
|
||||
void
|
||||
dns_tkey_destroy(void);
|
||||
/*
|
||||
* Frees all data associated with the TKEY subsystem
|
||||
*/
|
||||
|
||||
isc_result_t
|
||||
dns_tkey_processquery(dns_message_t *msg);
|
||||
/*
|
||||
|
Reference in New Issue
Block a user