lib.h File Reference

#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


Detailed Description

Definition in file lib.h.


Define Documentation

#define ISC_LIB_H   1

Definition at line 21 of file lib.h.


Function Documentation

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.


Variable Documentation

ISC_LANG_BEGINDECLS LIBISC_EXTERNAL_DATA isc_msgcat_t* isc_msgcat

Definition at line 41 of file lib.c.


Generated on Tue Apr 28 17:41:15 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha