1/*	$NetBSD: dlz_perl_driver.h,v 1.4 2024/02/21 22:51:49 christos Exp $	*/
2
3/*
4 * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
5 *
6 * SPDX-License-Identifier: MPL-2.0 and ISC
7 *
8 * This Source Code Form is subject to the terms of the Mozilla Public
9 * License, v. 2.0. If a copy of the MPL was not distributed with this
10 * file, you can obtain one at https://mozilla.org/MPL/2.0/.
11 */
12
13/*
14 * Copyright (C) Stichting NLnet, Netherlands, stichting@nlnet.nl.
15 * Copyright (C) John Eaglesham
16 *
17 * The development of Dynamically Loadable Zones (DLZ) for Bind 9 was
18 * conceived and contributed by Rob Butler.
19 *
20 * Permission to use, copy, modify, and distribute this software for any purpose
21 * with or without fee is hereby granted, provided that the above copyright
22 * notice and this permission notice appear in all copies.
23 *
24 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
25 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
26 * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
27 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
28 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
29 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
30 * PERFORMANCE OF THIS SOFTWARE.
31 */
32
33#pragma once
34
35#include <dlz_minimal.h>
36
37/* This is the only part that differs from dlz_minimal.h. */
38typedef struct dlz_perl_clientinfo_opaque {
39	dns_clientinfomethods_t *methods;
40	dns_clientinfo_t *clientinfo;
41} dlz_perl_clientinfo_opaque;
42