Added some globals for the config parser.

This commit is contained in:
James Brister 1999-10-13 17:50:53 +00:00
parent c6e10b826e
commit 253f25f7ff

View file

@ -23,6 +23,7 @@
#include <isc/net.h>
#include <dns/types.h>
#include <dns/confctx.h>
#include <named/types.h>
#include <named/interfacemgr.h>
@ -60,6 +61,15 @@ EXTERN isc_rwlock_t ns_g_viewlock;
*/
EXTERN dns_db_t * ns_g_rootns INIT(NULL);
/*
* Current config information
*/
EXTERN dns_c_ctx_t * ns_g_confctx INIT(NULL);
EXTERN isc_rwlock_t ns_g_confctxlock;
EXTERN const char * ns_g_conffile INIT(NULL);
/* XXXRTH These are temporary. */
EXTERN ns_dbinfolist_t ns_g_dbs;