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 /* $XConsortium: FileUtilsI.h /main/5 1995/10/26 12:19:41 rswiston $ */
24 /************************************<+>*************************************
25 ****************************************************************************
29 ** Project: DtHelp Project
31 ** Description: File locating and handling utilities
33 ** (c) Copyright 1993, 1994 Hewlett-Packard Company
34 ** (c) Copyright 1993, 1994 International Business Machines Corp.
35 ** (c) Copyright 1993, 1994 Sun Microsystems, Inc.
36 ** (c) Copyright 1993, 1994 Novell, Inc.
40 ****************************************************************************
41 ************************************<+>*************************************/
42 #ifndef _DtHelpFileUtilsI_h
43 #define _DtHelpFileUtilsI_h
45 #define DtHelpVOLUME_TYPE "volumes" /* dir for %T in XtResolvePathname */
46 #define DtHelpCCDF_VOL_SUFFIX ".hv" /* possible basename suffix */
47 #define DtHelpSDL_VOL_SUFFIX ".sdl" /* possible basename suffix */
49 /* array indices and size for use with _DtHelpFileGetSearchPaths() */
50 #define _DtHELP_FILE_USER_PATH 0
51 #define _DtHELP_FILE_SYS_PATH 1
52 #define _DtHELP_FILE_HOME_PATH 2
53 #define _DtHELP_FILE_NUM_PATHS 3
55 typedef struct _dtHelpCeDirStruct {
59 struct _dtHelpCeDirStruct *next_dir;
62 /* list of suffixes that help volumes may have */
63 extern const char * _DtHelpFileSuffixList[];
65 extern int _DtHelpCeCheckAndCacheDir(char *dir);
66 extern void _DtHelpFileGetSearchPaths(
68 Boolean searchHomeDir);
69 extern char *_DtHelpFileLocate (
72 const char * suffixList[],
75 extern Boolean _DtHelpFileTraceLinks (
77 extern Boolean _DtHelpFileTraceToFile (
82 #endif /* _DtHelpFileUtilsI_h */
83 /* DON'T ADD ANYTHING AFTER THIS #endif */