1 /*	$NetBSD: namedconf.h,v 1.4 2014/12/10 04:38:02 christos Exp $	*/
2 
3 /*
4  * Copyright (C) 2004-2007, 2009, 2010  Internet Systems Consortium, Inc. ("ISC")
5  * Copyright (C) 2002  Internet Software Consortium.
6  *
7  * Permission to use, copy, modify, and/or distribute this software for any
8  * purpose with or without fee is hereby granted, provided that the above
9  * copyright notice and this permission notice appear in all copies.
10  *
11  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
12  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
13  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
14  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
15  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
16  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17  * PERFORMANCE OF THIS SOFTWARE.
18  */
19 
20 /* Id: namedconf.h,v 1.18 2010/08/11 18:14:20 each Exp  */
21 
22 #ifndef ISCCFG_NAMEDCONF_H
23 #define ISCCFG_NAMEDCONF_H 1
24 
25 /*! \file isccfg/namedconf.h
26  * \brief
27  * This module defines the named.conf, rndc.conf, and rndc.key grammars.
28  */
29 
30 #include <isccfg/cfg.h>
31 
32 /*
33  * Configuration object types.
34  */
35 LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_namedconf;
36 /*%< A complete named.conf file. */
37 
38 LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_bindkeys;
39 /*%< A bind.keys file. */
40 
41 LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_newzones;
42 /*%< A new-zones file (for zones added by 'rndc addzone'). */
43 
44 LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_addzoneconf;
45 /*%< A single zone passed via the addzone rndc command. */
46 
47 LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_rndcconf;
48 /*%< A complete rndc.conf file. */
49 
50 LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_rndckey;
51 /*%< A complete rndc.key file. */
52 
53 LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_sessionkey;
54 /*%< A complete session.key file. */
55 
56 LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_keyref;
57 /*%< A key reference, used as an ACL element */
58 
59 #endif /* ISCCFG_NAMEDCONF_H */
60