Added LIBISCCFG_EXTERNAL_DATA macros to 3 declarations

This commit is contained in:
Danny Mayer 2001-07-23 05:00:44 +00:00
parent 1bf250400e
commit dfca19a1aa
2 changed files with 8 additions and 8 deletions

View file

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: cfg.h,v 1.26 2001/07/23 00:23:30 gson Exp $ */
/* $Id: cfg.h,v 1.27 2001/07/23 05:00:44 mayer Exp $ */
#ifndef ISCCFG_CFG_H
#define ISCCFG_CFG_H 1
@ -401,9 +401,9 @@ cfg_obj_log(cfg_obj_t *obj, isc_log_t *lctx, int level, const char *fmt, ...)
/*
* Configuration object types.
*/
extern cfg_type_t cfg_type_namedconf; /* A complete named.conf file. */
extern cfg_type_t cfg_type_rndcconf; /* A complete rndc.conf file. */
extern cfg_type_t cfg_type_keyref; /* A key reference, used as an ACL element */
LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_namedconf; /* A complete named.conf file. */
LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_rndcconf; /* A complete rndc.conf file. */
LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_keyref; /* A key reference, used as an ACL element */
ISC_LANG_ENDDECLS

View file

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: parser.c,v 1.63 2001/07/23 00:23:29 gson Exp $ */
/* $Id: parser.c,v 1.64 2001/07/23 05:00:43 mayer Exp $ */
#include <config.h>
@ -970,7 +970,7 @@ namedconf_clausesets[] = {
NULL
};
cfg_type_t cfg_type_namedconf = {
LIBISCCFG_EXTERNAL_DATA cfg_type_t cfg_type_namedconf = {
"namedconf", parse_mapbody, print_mapbody, &cfg_rep_map,
namedconf_clausesets
};
@ -1999,7 +1999,7 @@ static cfg_type_t cfg_type_notifytype = {
static keyword_type_t key_kw = { "key", &cfg_type_astring };
cfg_type_t cfg_type_keyref = {
LIBISCCFG_EXTERNAL_DATA cfg_type_t cfg_type_keyref = {
"keyref", parse_keyvalue, print_keyvalue,
&cfg_rep_string, &key_kw
};
@ -3471,7 +3471,7 @@ rndcconf_clausesets[] = {
NULL
};
cfg_type_t cfg_type_rndcconf = {
LIBISCCFG_EXTERNAL_DATA cfg_type_t cfg_type_rndcconf = {
"rndcconf", parse_mapbody, print_mapbody, &cfg_rep_map,
rndcconf_clausesets
};