1999-06-23 22:28:27 +00:00
|
|
|
/*
|
2018-02-23 09:53:12 +01:00
|
|
|
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
2000-08-01 01:33:37 +00:00
|
|
|
*
|
2016-06-27 14:56:38 +10:00
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
2020-09-14 16:20:40 -07:00
|
|
|
* file, you can obtain one at https://mozilla.org/MPL/2.0/.
|
2018-02-23 09:53:12 +01:00
|
|
|
*
|
|
|
|
* See the COPYRIGHT file distributed with this work for additional
|
|
|
|
* information regarding copyright ownership.
|
1999-06-23 22:28:27 +00:00
|
|
|
*/
|
|
|
|
|
2005-04-27 04:57:32 +00:00
|
|
|
/*! \file */
|
2000-06-22 22:00:42 +00:00
|
|
|
|
2018-11-23 21:35:01 +01:00
|
|
|
#include <isc/bind9.h>
|
1999-06-23 22:28:27 +00:00
|
|
|
#include <isc/lib.h>
|
2021-02-09 17:44:40 +01:00
|
|
|
#include <isc/mem.h>
|
|
|
|
#include <isc/tls.h>
|
|
|
|
#include <isc/util.h>
|
|
|
|
|
|
|
|
#include "mem_p.h"
|
|
|
|
#include "tls_p.h"
|
2021-02-16 15:57:39 +01:00
|
|
|
#include "trampoline_p.h"
|
1999-06-23 22:28:27 +00:00
|
|
|
|
|
|
|
/***
|
|
|
|
*** Functions
|
|
|
|
***/
|
|
|
|
|
2009-09-01 00:22:28 +00:00
|
|
|
void
|
2020-02-13 14:44:37 -08:00
|
|
|
isc_lib_register(void) {
|
2018-08-06 13:00:55 +02:00
|
|
|
isc_bind9 = false;
|
2009-09-01 00:22:28 +00:00
|
|
|
}
|
2021-02-09 17:44:40 +01:00
|
|
|
|
|
|
|
void
|
|
|
|
isc__initialize(void) ISC_CONSTRUCTOR(101);
|
|
|
|
void
|
|
|
|
isc__shutdown(void) ISC_DESTRUCTOR(101);
|
|
|
|
|
|
|
|
void
|
|
|
|
isc__initialize(void) {
|
|
|
|
isc__mem_initialize();
|
|
|
|
isc__tls_initialize();
|
2021-02-16 15:57:39 +01:00
|
|
|
isc__trampoline_initialize();
|
2021-02-09 17:44:40 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
isc__shutdown(void) {
|
2021-02-16 15:57:39 +01:00
|
|
|
isc__trampoline_shutdown();
|
2021-02-09 17:44:40 +01:00
|
|
|
isc__tls_shutdown();
|
|
|
|
isc__mem_shutdown();
|
|
|
|
}
|