REQUIRE(name != NULL);
REQUIRE(dctx != NULL);
- /*
- * Depending on how dlopen() was called, we may not have
- * access to named's global namespace, in which case we need
- * to initialize libisc/libdns
- */
- if (dctx->refvar != &isc_bind9) {
- isc_log_setcontext(dctx->lctx);
- dns_log_setcontext(dctx->lctx);
- isc_hash_set_initializer(dctx->hashinit);
- }
-
s = isc_mem_strdup(mctx, parameters);
result = isc_commandline_strtoargv(mctx, s, &argc, &argv, 0);
.loopmgr = loopmgr,
.hashinit = hashinit,
.lctx = lctx,
- .refvar = &isc_bind9,
};
if (view != NULL) {
dns_zonemgr_t *zmgr;
isc_task_t *task;
isc_loopmgr_t *loopmgr;
- const bool *refvar;
+ const bool *refvar; /* unused, but retained for API compatibility */
};
#define DNS_DYNDBCTX_MAGIC ISC_MAGIC('D', 'd', 'b', 'c')
include/isc/barrier.h \
include/isc/base32.h \
include/isc/base64.h \
- include/isc/bind9.h \
include/isc/buffer.h \
include/isc/cmocka.h \
include/isc/commandline.h \
backtrace.c \
base32.c \
base64.c \
- bind9.c \
commandline.c \
condition.c \
counter.c \
+++ /dev/null
-/*
- * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
- *
- * SPDX-License-Identifier: MPL-2.0
- *
- * 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
- * file, you can obtain one at https://mozilla.org/MPL/2.0/.
- *
- * See the COPYRIGHT file distributed with this work for additional
- * information regarding copyright ownership.
- */
-
-/*! \file */
-
-#include <stdbool.h>
-
-#include <isc/bind9.h>
-
-bool isc_bind9 = true;
+++ /dev/null
-/*
- * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
- *
- * SPDX-License-Identifier: MPL-2.0
- *
- * 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
- * file, you can obtain one at https://mozilla.org/MPL/2.0/.
- *
- * See the COPYRIGHT file distributed with this work for additional
- * information regarding copyright ownership.
- */
-
-#pragma once
-
-#include <stdbool.h>
-
-extern bool isc_bind9;
#pragma once
-#include <isc/bind9.h>
#include <isc/result.h>
/*! \file isc/types.h
/*! \file */
-#include <isc/bind9.h>
#include <isc/iterated_hash.h>
#include <isc/md.h>
#include <isc/mem.h>
#include <stdlib.h>
#include <isc/align.h>
-#include <isc/bind9.h>
#include <isc/hash.h>
#include <isc/magic.h>
#include <isc/mem.h>