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