1/*
2 * Copyright (C) 2004-2007, 2009, 2010  Internet Systems Consortium, Inc. ("ISC")
3 * Copyright (C) 2002  Internet Software Consortium.
4 *
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.
8 *
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.
16 */
17
18/* $Id: namedconf.h,v 1.18 2010/08/11 18:14:20 each Exp $ */
19
20#ifndef ISCCFG_NAMEDCONF_H
21#define ISCCFG_NAMEDCONF_H 1
22
23/*! \file isccfg/namedconf.h
24 * \brief
25 * This module defines the named.conf, rndc.conf, and rndc.key grammars.
26 */
27
28#include <isccfg/cfg.h>
29
30/*
31 * Configuration object types.
32 */
33LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_namedconf;
34/*%< A complete named.conf file. */
35
36LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_bindkeys;
37/*%< A bind.keys file. */
38
39LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_newzones;
40/*%< A new-zones file (for zones added by 'rndc addzone'). */
41
42LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_addzoneconf;
43/*%< A single zone passed via the addzone rndc command. */
44
45LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_rndcconf;
46/*%< A complete rndc.conf file. */
47
48LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_rndckey;
49/*%< A complete rndc.key file. */
50
51LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_sessionkey;
52/*%< A complete session.key file. */
53
54LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_keyref;
55/*%< A key reference, used as an ACL element */
56
57#endif /* ISCCFG_NAMEDCONF_H */
58