xref: /netbsd-src/external/mpl/dhcp/bind/dist/lib/isccfg/include/isccfg/namedconf.h (revision 4afad4b7fa6d4a0d3dedf41d1587a7250710ae54)
1 /*	$NetBSD: namedconf.h,v 1.1 2024/02/18 20:57:59 christos Exp $	*/
2 
3 /*
4  * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
5  *
6  * SPDX-License-Identifier: MPL-2.0
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  * See the COPYRIGHT file distributed with this work for additional
13  * information regarding copyright ownership.
14  */
15 
16 #ifndef ISCCFG_NAMEDCONF_H
17 #define ISCCFG_NAMEDCONF_H 1
18 
19 /*! \file isccfg/namedconf.h
20  * \brief
21  * This module defines the named.conf, rndc.conf, and rndc.key grammars.
22  */
23 
24 #include <isccfg/cfg.h>
25 
26 /*
27  * Configuration object types.
28  */
29 LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_namedconf;
30 /*%< A complete named.conf file. */
31 
32 LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_bindkeys;
33 /*%< A bind.keys file. */
34 
35 LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_newzones;
36 /*%< A new-zones file (for zones added by 'rndc addzone'). */
37 
38 LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_addzoneconf;
39 /*%< A single zone passed via the addzone rndc command. */
40 
41 LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_rndcconf;
42 /*%< A complete rndc.conf file. */
43 
44 LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_rndckey;
45 /*%< A complete rndc.key file. */
46 
47 LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_sessionkey;
48 /*%< A complete session.key file. */
49 
50 LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_keyref;
51 /*%< A key reference, used as an ACL element */
52 
53 /*%< Zone options */
54 LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_zoneopts;
55 
56 /*%< DNSSEC Key and Signing Policy options */
57 LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_dnssecpolicyopts;
58 
59 #endif /* ISCCFG_NAMEDCONF_H */
60