00001 /* 00002 * Copyright (C) 2004-2007, 2009, 2010, 2014 Internet Systems Consortium, Inc. ("ISC") 00003 * Copyright (C) 2002 Internet Software Consortium. 00004 * 00005 * Permission to use, copy, modify, and/or distribute this software for any 00006 * purpose with or without fee is hereby granted, provided that the above 00007 * copyright notice and this permission notice appear in all copies. 00008 * 00009 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 00010 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 00011 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 00012 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 00013 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 00014 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00015 * PERFORMANCE OF THIS SOFTWARE. 00016 */ 00017 00018 /* $Id: namedconf.h,v 1.18 2010/08/11 18:14:20 each Exp $ */ 00019 00020 #ifndef ISCCFG_NAMEDCONF_H 00021 #define ISCCFG_NAMEDCONF_H 1 00022 00023 /*! \file isccfg/namedconf.h 00024 * \brief 00025 * This module defines the named.conf, rndc.conf, and rndc.key grammars. 00026 */ 00027 00028 #include <isccfg/cfg.h> 00029 00030 /* 00031 * Configuration object types. 00032 */ 00033 LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_namedconf; 00034 /*%< A complete named.conf file. */ 00035 00036 LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_bindkeys; 00037 /*%< A bind.keys file. */ 00038 00039 LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_newzones; 00040 /*%< A new-zones file (for zones added by 'rndc addzone'). */ 00041 00042 LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_addzoneconf; 00043 /*%< A single zone passed via the addzone rndc command. */ 00044 00045 LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_rndcconf; 00046 /*%< A complete rndc.conf file. */ 00047 00048 LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_rndckey; 00049 /*%< A complete rndc.key file. */ 00050 00051 LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_sessionkey; 00052 /*%< A complete session.key file. */ 00053 00054 LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_keyref; 00055 /*%< A key reference, used as an ACL element */ 00056 00057 /*%< An EDNS client subnet address, used as an ACL element */ 00058 LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_ecsprefix; 00059 00060 #endif /* ISCCFG_NAMEDCONF_H */