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