#include <isc/types.h>
#include <isc/lang.h>
Go to the source code of this file.
Defines | |
#define | DNS_LIB_H 1 |
Functions | |
void | dns_lib_initmsgcat (void) |
Initialize the DNS library's message catalog, dns_msgcat, if it has not already been initialized. | |
isc_result_t | dns_lib_init (void) |
A set of initialization procedure used in the DNS library. This function is provided for an application that is not aware of the underlying ISC or DNS libraries much. | |
void | dns_lib_shutdown (void) |
Free temporary resources allocated in dns_lib_init(). | |
Variables | |
ISC_LANG_BEGINDECLS LIBDNS_EXTERNAL_DATA unsigned int | dns_pps |
Tuning: external query load in packets per seconds. | |
LIBDNS_EXTERNAL_DATA isc_msgcat_t * | dns_msgcat |
Definition in file lib.h.
void dns_lib_initmsgcat | ( | void | ) |
Initialize the DNS library's message catalog, dns_msgcat, if it has not already been initialized.
Definition at line 66 of file lib.c.
References isc_once_do, ISC_R_SUCCESS, msgcat_once, open_msgcat(), and RUNTIME_CHECK.
Referenced by initialize().
isc_result_t dns_lib_init | ( | void | ) |
A set of initialization procedure used in the DNS library. This function is provided for an application that is not aware of the underlying ISC or DNS libraries much.
Definition at line 124 of file lib.c.
References init_once, initialize(), initialize_done, isc_once_do, ISC_R_FAILURE, ISC_R_SUCCESS, LOCK, references, reflock, and UNLOCK.
void dns_lib_shutdown | ( | void | ) |
Free temporary resources allocated in dns_lib_init().
Definition at line 147 of file lib.c.
References dns_ecdb_unregister(), dst_lib_destroy(), ISC_FALSE, isc_hash_destroy(), isc_mem_detach(), ISC_TRUE, LOCK, references, reflock, and UNLOCK.
ISC_LANG_BEGINDECLS LIBDNS_EXTERNAL_DATA unsigned int dns_pps |
Tuning: external query load in packets per seconds.
Definition at line 45 of file lib.c.
Referenced by adjust_quantum(), dumptostreaminc(), and pps_timer_tick().
LIBDNS_EXTERNAL_DATA isc_msgcat_t* dns_msgcat |