mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-24 15:47:18 -04:00
added dns_tkey_destroy
This commit is contained in:
parent
61b103daed
commit
31b6349dbb
3 changed files with 9 additions and 0 deletions
|
|
@ -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);
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue