lib.c revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
/*
* Copyright (C) 1999-2001, 2004, 2005, 2007, 2009, 2013-2016 Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/* $Id: lib.c,v 1.16 2009/09/02 23:48:02 tbox Exp $ */
/*! \file */
#include <config.h>
#include <stdio.h>
#include <stdlib.h>
/***
*** Globals
***/
/***
*** Private
***/
/***
*** Functions
***/
static void
open_msgcat(void) {
}
void
isc_lib_initmsgcat(void) {
/*!
* Initialize the ISC library's message catalog, isc_msgcat, if it
* has not already been initialized.
*/
if (result != ISC_R_SUCCESS) {
/*
* Normally we'd use RUNTIME_CHECK() or FATAL_ERROR(), but
* we can't do that here, since they might call us!
* (Note that the catalog might be open anyway, so we might
* as well try to provide an internationalized message.)
*/
ISC_MSG_FATALERROR, "fatal error"),
ISC_MSG_FAILED, "failed"));
abort();
}
}
static void
do_register(void) {
}
void
isc_lib_register(void) {
== ISC_R_SUCCESS);
}