#include <isc/types.h>
#include <isc/lang.h>
Go to the source code of this file.
Defines | |
#define | ISC_LIB_H 1 |
Functions | |
void | isc_lib_initmsgcat (void) |
Initialize the ISC library's message catalog, isc_msgcat, if it has not already been initialized. | |
void | isc_lib_register (void) |
Register the ISC library implementations for some base services such as memory or event management and handling socket or timer events. An external application that wants to use the ISC library must call this function very early in main(). | |
Variables | |
ISC_LANG_BEGINDECLS LIBISC_EXTERNAL_DATA isc_msgcat_t * | isc_msgcat |
Definition in file lib.h.
void isc_lib_initmsgcat | ( | void | ) |
Initialize the ISC library's message catalog, isc_msgcat, if it has not already been initialized.
Initialize the ISC library's message catalog, isc_msgcat, if it has not already been initialized.
Definition at line 60 of file lib.c.
References ISC_MSG_FAILED, ISC_MSG_FATALERROR, isc_msgcat_get(), ISC_MSGSET_GENERAL, isc_once_do, ISC_R_SUCCESS, msgcat_once, and open_msgcat().
Referenced by initialize().
void isc_lib_register | ( | void | ) |
Register the ISC library implementations for some base services such as memory or event management and handling socket or timer events. An external application that wants to use the ISC library must call this function very early in main().
Definition at line 100 of file lib.c.
References do_register(), isc_once_do, ISC_R_SUCCESS, register_once, and RUNTIME_CHECK.
ISC_LANG_BEGINDECLS LIBISC_EXTERNAL_DATA isc_msgcat_t* isc_msgcat |