Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
137
cde/lib/DtHelp/HelposI.h
Normal file
137
cde/lib/DtHelp/HelposI.h
Normal file
@@ -0,0 +1,137 @@
|
||||
/* $TOG: HelposI.h /main/8 1998/07/28 15:38:41 mgreess $ */
|
||||
/*************************************<+>*************************************
|
||||
*****************************************************************************
|
||||
**
|
||||
** File: DtosI.h
|
||||
**
|
||||
** Project: Rivers Project,
|
||||
**
|
||||
** Description: Internal header file for our Dtos.c module
|
||||
** -----------
|
||||
**
|
||||
** (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 Hewlett-Packard Company
|
||||
**
|
||||
** (c) Copyright 1993, 1994 Hewlett-Packard Company
|
||||
** (c) Copyright 1993, 1994 International Business Machines Corp.
|
||||
** (c) Copyright 1993, 1994 Sun Microsystems, Inc.
|
||||
** (c) Copyright 1993, 1994 Novell, Inc.
|
||||
**
|
||||
*******************************************************************
|
||||
*************************************<+>*************************************/
|
||||
#ifndef _DtosI_h
|
||||
#define _DtosI_h
|
||||
|
||||
|
||||
#ifndef NO_MESSAGE_CATALOG
|
||||
# define _DTGETMESSAGE(set, n, s) _DtHelpGetMessage(set, n, s)
|
||||
#else
|
||||
# define _DTGETMESSAGE(set, n, s) s
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* Function: Boolean _DtHelpOSGetHomeDirName(
|
||||
*
|
||||
*
|
||||
* Parameters: Output string, size of output string buffer
|
||||
*
|
||||
* Return Value: String.
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
*
|
||||
*****************************************************************************/
|
||||
extern void _DtHelpOSGetHomeDirName(
|
||||
String outptr,
|
||||
size_t len);
|
||||
|
||||
/*****************************************************************************
|
||||
* Function: _DtHelpGetUserSearchPath(
|
||||
*
|
||||
*
|
||||
* Parameters:
|
||||
*
|
||||
* Return Value: String, owned by caller.
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* Gets the user search path for use
|
||||
* when searching for a volume.
|
||||
* Takes path from the environment,
|
||||
* or uses the default path.
|
||||
*
|
||||
*****************************************************************************/
|
||||
String _DtHelpGetUserSearchPath(void);
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* Function: _DtHelpGetSystemSearchPath(
|
||||
*
|
||||
*
|
||||
* Parameters:
|
||||
*
|
||||
* Return Value: String, owned by caller.
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
* Gets the system search path for use
|
||||
* when searching for a volume.
|
||||
* Takes path from the environment,
|
||||
* or uses the default path.
|
||||
*
|
||||
*****************************************************************************/
|
||||
String _DtHelpGetSystemSearchPath(void);
|
||||
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* Function: Boolean _DtHelpGetMessage(
|
||||
*
|
||||
*
|
||||
* Parameters:
|
||||
*
|
||||
* Return Value: char *
|
||||
*
|
||||
*
|
||||
* Description: This function will retreive the requested message from the
|
||||
* cache proper cache creek message catalog file.
|
||||
*
|
||||
*****************************************************************************/
|
||||
extern char *_DtHelpGetMessage(
|
||||
int set,
|
||||
int n,
|
||||
char *s);
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* Function: char * _DtHelpGetLocale(
|
||||
*
|
||||
*
|
||||
* Parameters:
|
||||
*
|
||||
* Return Value: char *
|
||||
*
|
||||
*
|
||||
* Description: Returns the value of LC_MESSAGES from the environ.
|
||||
* If that is NULL, returns the value of LANG form the environ.
|
||||
* If that is NULL, returns NULL.
|
||||
*
|
||||
*****************************************************************************/
|
||||
extern char *_DtHelpGetLocale(void);
|
||||
|
||||
|
||||
#endif /* _DtosI_h */
|
||||
/* Do not add anything after this endif. */
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user