mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 20:10:04 -04:00
Added some globals for the config parser.
This commit is contained in:
parent
c6e10b826e
commit
253f25f7ff
1 changed files with 10 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue