1258945Sroberto/* 2280849Scy * Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC") 3258945Sroberto * Copyright (C) 1999-2001 Internet Software Consortium. 4258945Sroberto * 5258945Sroberto * Permission to use, copy, modify, and/or distribute this software for any 6258945Sroberto * purpose with or without fee is hereby granted, provided that the above 7258945Sroberto * copyright notice and this permission notice appear in all copies. 8258945Sroberto * 9258945Sroberto * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 10258945Sroberto * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 11258945Sroberto * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 12258945Sroberto * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 13258945Sroberto * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 14258945Sroberto * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 15258945Sroberto * PERFORMANCE OF THIS SOFTWARE. 16258945Sroberto */ 17258945Sroberto 18280849Scy/* $Id: lib.h,v 1.16 2009/09/02 23:48:03 tbox Exp $ */ 19258945Sroberto 20258945Sroberto#ifndef ISC_LIB_H 21258945Sroberto#define ISC_LIB_H 1 22258945Sroberto 23258945Sroberto/*! \file isc/lib.h */ 24258945Sroberto 25258945Sroberto#include <isc/types.h> 26258945Sroberto#include <isc/lang.h> 27258945Sroberto 28258945SrobertoISC_LANG_BEGINDECLS 29258945Sroberto 30258945SrobertoLIBISC_EXTERNAL_DATA extern isc_msgcat_t *isc_msgcat; 31258945Sroberto 32258945Srobertovoid 33258945Srobertoisc_lib_initmsgcat(void); 34258945Sroberto/*!< 35258945Sroberto * \brief Initialize the ISC library's message catalog, isc_msgcat, if it 36258945Sroberto * has not already been initialized. 37258945Sroberto */ 38258945Sroberto 39280849Scyvoid 40280849Scyisc_lib_register(void); 41280849Scy/*!< 42280849Scy * \brief Register the ISC library implementations for some base services 43280849Scy * such as memory or event management and handling socket or timer events. 44280849Scy * An external application that wants to use the ISC library must call this 45280849Scy * function very early in main(). 46280849Scy */ 47280849Scy 48258945SrobertoISC_LANG_ENDDECLS 49258945Sroberto 50258945Sroberto#endif /* ISC_LIB_H */ 51