#include <isc/lang.h>
#include <isc/types.h>
Go to the source code of this file.
Defines | |
#define | ISC_MSGCAT_H 1 |
Functions | |
ISC_LANG_BEGINDECLS void | isc_msgcat_open (const char *name, isc_msgcat_t **msgcatp) |
Open a message catalog. | |
void | isc_msgcat_close (isc_msgcat_t **msgcatp) |
Close a message catalog. | |
const char * | isc_msgcat_get (isc_msgcat_t *msgcat, int set, int message, const char *default_text) |
Get message 'message' from message set 'set' in 'msgcat'. If it is not available, use 'default_text'. |
Notes:
Definition in file msgcat.h.
ISC_LANG_BEGINDECLS void isc_msgcat_open | ( | const char * | name, | |
isc_msgcat_t ** | msgcatp | |||
) |
Open a message catalog.
Notes:
Definition at line 57 of file msgcat.c.
References isc_msgcat::magic, MSGCAT_MAGIC, and REQUIRE.
Referenced by open_msgcat().
void isc_msgcat_close | ( | isc_msgcat_t ** | msgcatp | ) |
Close a message catalog.
Notes:
Definition at line 87 of file msgcat.c.
References free(), isc_msgcat::magic, REQUIRE, and VALID_MSGCAT.
const char* isc_msgcat_get | ( | isc_msgcat_t * | msgcat, | |
int | set, | |||
int | message, | |||
const char * | default_text | |||
) |
Get message 'message' from message set 'set' in 'msgcat'. If it is not available, use 'default_text'.
Requires:
Definition at line 111 of file msgcat.c.
References REQUIRE, and VALID_MSGCAT.
Referenced by build_msghdr_send(), default_callback(), default_fatal_callback(), deschedule(), dispatch(), doio_send(), dumpstats(), getbuf4(), handle_signal(), initialize_action(), internal_accept(), internal_current(), internal_current4(), isc__taskmgr_create(), isc__timermgr_create(), isc__timermgr_destroy(), isc_commandline_parse(), isc_condition_waituntil(), isc_error_runtimecheck(), isc_interfaceiter_create(), isc_lex_gettoken(), isc_lib_initmsgcat(), isc_log_doit(), isc_mem_stats(), isc_netaddr_format(), isc_result_totext(), isc_sockaddr_format(), isc_sockaddr_getport(), isc_sockaddr_hash(), isc_sockaddr_pf(), isc_sockaddr_setport(), schedule(), setup_watcher(), task_shutdown(), and try_proto().