i18n.c revision 5e45752a44935a6b2445ae1c763867d868fa3fbb
/*
*
* Portions Copyright 1998 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include <nl_types.h>
/* #include <lthread.h> */
#include <pthread.h>
#include <thread.h>
nl_catd slapdcat = 0;
int notdone = 1;
static pthread_mutex_t log_mutex;
pthread_mutex_t systime_mutex;
void i18n_catopen(char * name)
{
if ( notdone ) {
notdone = 0;
slapdcat = catopen(name, NL_CAT_LOCALE);
} /* end if */
}