1/*
2 *
3 * Portions Copyright 1998 Sun Microsystems, Inc.  All rights reserved.
4 * Use is subject to license terms.
5 *
6 */
7
8#pragma ident	"%Z%%M%	%I%	%E% SMI"
9
10#include <nl_types.h>
11/* #include <lthread.h> */
12#include <pthread.h>
13#include <thread.h>
14
15nl_catd slapdcat = 0;
16int     notdone = 1;
17static pthread_mutex_t log_mutex;
18pthread_mutex_t systime_mutex;
19
20void i18n_catopen(char * name)
21{
22	if ( notdone ) {
23		notdone = 0;
24		slapdcat = catopen(name, NL_CAT_LOCALE);
25	} /* end if */
26}
27
28