#include <isc/rwlock.h>
#include <isc/log.h>
#include <isc/net.h>
#include <isccfg/aclconf.h>
#include <isccfg/cfg.h>
#include <dns/acl.h>
#include <dns/zone.h>
#include <dst/dst.h>
#include <named/types.h>
Go to the source code of this file.
Defines | |
#define | NAMED_GLOBALS_H 1 |
#define | EXTERN extern |
#define | INIT(v) |
#define | NS_RUN_PID_DIR 1 |
Functions | |
EXTERN isc_mem_t *ns_g_mctx | INIT (NULL) |
EXTERN unsigned int ns_g_cpus | INIT (0) |
EXTERN unsigned int ns_g_cpus_detected | INIT (1) |
EXTERN const char *ns_g_version | INIT (VERSION) |
EXTERN const char *ns_g_product | INIT (PRODUCT) |
EXTERN const char *ns_g_description | INIT (DESCRIPTION) |
EXTERN const char *ns_g_srcid | INIT (SRCID) |
EXTERN const char *ns_g_configargs | INIT (CONFIGARGS) |
EXTERN const char *ns_g_builder | INIT (BUILDER) |
EXTERN isc_dscp_t ns_g_dscp | INIT (-1) |
EXTERN isc_boolean_t ns_g_lwresdonly | INIT (ISC_FALSE) |
EXTERN const char *ns_g_conffile | INIT (NS_SYSCONFDIR"/named.conf") |
EXTERN const char *ns_g_keyfile | INIT (NS_SYSCONFDIR"/rndc.key") |
EXTERN const char *lwresd_g_conffile | INIT (NS_SYSCONFDIR"/lwresd.conf") |
EXTERN const char *lwresd_g_resolvconffile | INIT ("/etc""/resolv.conf") |
EXTERN isc_uint16_t ns_g_udpsize | INIT (4096) |
EXTERN isc_boolean_t ns_g_coreok | INIT (ISC_TRUE) |
EXTERN const char *ns_g_defaultsessionkeyfile | INIT (NS_LOCALSTATEDIR"/run/named/""session.key") |
EXTERN const char *ns_g_defaultlockfile | INIT (NS_LOCALSTATEDIR"/run/named/""named.lock") |
EXTERN const char *ns_g_defaultpidfile | INIT (NS_LOCALSTATEDIR"/run/named/""named.pid") |
EXTERN const char *lwresd_g_defaultpidfile | INIT (NS_LOCALSTATEDIR"/run/lwresd/""lwresd.pid") |
EXTERN int ns_g_listen | INIT (3) |
Variables | |
EXTERN dns_name_t | ns_g_sessionkeyname |
EXTERN isc_time_t | ns_g_boottime |
EXTERN isc_time_t | ns_g_configtime |
Definition in file globals.h.
EXTERN const char *ns_g_engine INIT | ( | NULL | ) |
EXTERN unsigned int ns_smf_want_disable INIT | ( | 0 | ) |
EXTERN unsigned int ns_g_cpus_detected INIT | ( | 1 | ) |
EXTERN const char* ns_g_version INIT | ( | VERSION | ) |
EXTERN const char* ns_g_product INIT | ( | PRODUCT | ) |
EXTERN const char* ns_g_description INIT | ( | DESCRIPTION | ) |
EXTERN const char* ns_g_srcid INIT | ( | SRCID | ) |
EXTERN const char* ns_g_configargs INIT | ( | CONFIGARGS | ) |
EXTERN const char* ns_g_builder INIT | ( | BUILDER | ) |
EXTERN isc_dscp_t ns_g_dscp INIT | ( | - | 1 | ) |
EXTERN isc_boolean_t ns_g_disable4 INIT | ( | ISC_FALSE | ) |
EXTERN const char* ns_g_conffile INIT | ( | NS_SYSCONFDIR"/named.conf" | ) |
EXTERN const char* ns_g_keyfile INIT | ( | NS_SYSCONFDIR"/rndc.key" | ) |
EXTERN const char* lwresd_g_conffile INIT | ( | NS_SYSCONFDIR"/lwresd.conf" | ) |
EXTERN const char* lwresd_g_resolvconffile INIT | ( | "/etc""/resolv.conf" | ) |
EXTERN isc_uint16_t ns_g_udpsize INIT | ( | 4096 | ) |
EXTERN isc_boolean_t ns_g_coreok INIT | ( | ISC_TRUE | ) |
EXTERN const char* ns_g_defaultsessionkeyfile INIT | ( | NS_LOCALSTATEDIR"/run/named/""session.key" | ) |
EXTERN const char* ns_g_defaultlockfile INIT | ( | NS_LOCALSTATEDIR"/run/named/""named.lock" | ) |
EXTERN const char* ns_g_defaultpidfile INIT | ( | NS_LOCALSTATEDIR"/run/named/""named.pid" | ) |
EXTERN const char* lwresd_g_defaultpidfile INIT | ( | NS_LOCALSTATEDIR"/run/lwresd/""lwresd.pid" | ) |
EXTERN int ns_g_listen INIT | ( | 3 | ) |
EXTERN dns_name_t ns_g_sessionkeyname |
EXTERN isc_time_t ns_g_boottime |
EXTERN isc_time_t ns_g_configtime |
Definition at line 165 of file globals.h.
Referenced by load_configuration(), ns_server_changezone(), ns_server_delzone(), and ns_server_status().