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 librararies and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 /* $TOG: HelposI.h /main/8 1998/07/28 15:38:41 mgreess $ */
24 /*************************************<+>*************************************
25 *****************************************************************************
29 ** Project: Rivers Project,
31 ** Description: Internal header file for our Dtos.c module
34 ** (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 Hewlett-Packard Company
36 ** (c) Copyright 1993, 1994 Hewlett-Packard Company
37 ** (c) Copyright 1993, 1994 International Business Machines Corp.
38 ** (c) Copyright 1993, 1994 Sun Microsystems, Inc.
39 ** (c) Copyright 1993, 1994 Novell, Inc.
41 *******************************************************************
42 *************************************<+>*************************************/
47 #ifndef NO_MESSAGE_CATALOG
48 # define _DTGETMESSAGE(set, n, s) _DtHelpGetMessage(set, n, s)
50 # define _DTGETMESSAGE(set, n, s) s
54 /*****************************************************************************
55 * Function: Boolean _DtHelpOSGetHomeDirName(
58 * Parameters: Output string, size of output string buffer
60 * Return Value: String.
65 *****************************************************************************/
66 extern void _DtHelpOSGetHomeDirName(
70 /*****************************************************************************
71 * Function: _DtHelpGetUserSearchPath(
76 * Return Value: String, owned by caller.
80 * Gets the user search path for use
81 * when searching for a volume.
82 * Takes path from the environment,
83 * or uses the default path.
85 *****************************************************************************/
86 String _DtHelpGetUserSearchPath(void);
89 /*****************************************************************************
90 * Function: _DtHelpGetSystemSearchPath(
95 * Return Value: String, owned by caller.
99 * Gets the system search path for use
100 * when searching for a volume.
101 * Takes path from the environment,
102 * or uses the default path.
104 *****************************************************************************/
105 String _DtHelpGetSystemSearchPath(void);
109 /*****************************************************************************
110 * Function: Boolean _DtHelpGetMessage(
115 * Return Value: char *
118 * Description: This function will retreive the requested message from the
119 * cache proper cache creek message catalog file.
121 *****************************************************************************/
122 extern char *_DtHelpGetMessage(
128 /*****************************************************************************
129 * Function: char * _DtHelpGetLocale(
134 * Return Value: char *
137 * Description: Returns the value of LC_MESSAGES from the environ.
138 * If that is NULL, returns the value of LANG form the environ.
139 * If that is NULL, returns NULL.
141 *****************************************************************************/
142 extern char *_DtHelpGetLocale(void);
145 #endif /* _DtosI_h */
146 /* Do not add anything after this endif. */