2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these libraries and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 /* lcInit.c 1.4 - Fujitsu source for CDEnext 96/03/11 17:13:15 */
24 /* $XConsortium: _fallcInit.c /main/1 1996/04/08 15:17:36 cde-fuj $ */
26 * Copyright 1992, 1993 by TOSHIBA Corp.
28 * Permission to use, copy, modify, and distribute this software and its
29 * documentation for any purpose and without fee is hereby granted, provided
30 * that the above copyright notice appear in all copies and that both that
31 * copyright notice and this permission notice appear in supporting
32 * documentation, and that the name of TOSHIBA not be used in advertising
33 * or publicity pertaining to distribution of the software without specific,
34 * written prior permission. TOSHIBA make no representations about the
35 * suitability of this software for any purpose. It is provided "as is"
36 * without express or implied warranty.
38 * TOSHIBA DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
39 * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
40 * TOSHIBA BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
41 * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
42 * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
43 * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
46 * Author: Katsuhisa Yano TOSHIBA Corp.
47 * mopi@osa.ilab.toshiba.co.jp
50 * (c) Copyright 1995 FUJITSU LIMITED
51 * This is source code modified by FUJITSU LIMITED under the Joint
52 * Development Agreement for the CDEnext PST.
53 * This is unpublished proprietary source code of FUJITSU LIMITED
55 * Modifier: Masayoshi Shimamura FUJITSU LIMITED
59 #include "_fallibint.h"
60 #include "_fallcint.h"
62 #define USE_GENERIC_LOADER
63 #define USE_DEFAULT_LOADER
64 /*** #define USE_EUC_LOADER ***/
65 /*** #define USE_SJIS_LOADER ***/
66 /*** #define USE_JIS_LOADER ***/
67 /*** #define USE_UTF_LOADER ***/
69 extern XLCd _fallcDefaultLoader(
70 #if NeedFunctionPrototypes
77 extern XLCd _falsunOsDynamicLoad(
78 #if NeedFunctionPrototypes
85 extern XLCd _falaixOsDynamicLoad(
86 #if NeedFunctionPrototypes
93 #ifdef USE_GENERIC_LOADER
94 extern XLCd _fallcGenericLoader(
95 #if NeedFunctionPrototypes
101 #ifdef USE_UTF_LOADER
102 extern XLCd _fallcUtfLoader(
103 #if NeedFunctionPrototypes
109 #ifdef USE_EUC_LOADER
110 extern XLCd _fallcEucLoader(
111 #if NeedFunctionPrototypes
117 #ifdef USE_SJIS_LOADER
118 extern XLCd _fallcSjisLoader(
119 #if NeedFunctionPrototypes
125 #ifdef USE_JIS_LOADER
126 extern XLCd _XlcJisLoader(
127 #if NeedFunctionPrototypes
133 #ifdef USE_DYNAMIC_LOADER
134 extern XLCd _fallcDynamicLoader(
135 #if NeedFunctionPrototypes
142 * The _fallcInitLoader function initializes the locale object loader list
143 * with vendor specific manner.
149 #ifdef USE_GENERIC_LOADER
150 _fallcAddLoader(_fallcGenericLoader, XlcHead);
153 #ifdef USE_DEFAULT_LOADER
154 _fallcAddLoader(_fallcDefaultLoader, XlcHead);
157 #ifdef USE_EUC_LOADER
158 _fallcAddLoader(_fallcEucLoader, XlcHead);
161 #ifdef USE_SJIS_LOADER
162 _fallcAddLoader(_fallcSjisLoader, XlcHead);
165 #ifdef USE_JIS_LOADER
166 _fallcAddLoader(_XlcJisLoader, XlcHead);
169 #ifdef USE_UTF_LOADER
170 _fallcAddLoader(_fallcUtfLoader, XlcHead);
175 _fallcAddLoader(_falsunOsDynamicLoad, XlcHead);
179 _fallcAddLoader(_falaixOsDynamicLoad, XlcHead);
181 #endif /* DYNAMIC_LOAD */
183 #ifdef USE_DYNAMIC_LOADER
184 _fallcAddLoader(_fallcDynamicLoader, XlcHead);