Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / lib / DtHelp / AccessSDLI.h
1 /* $XConsortium: AccessSDLI.h /main/6 1995/12/18 16:30:06 cde-hp $ */
2 /************************************<+>*************************************
3  ****************************************************************************
4  **
5  **   File:        AccessSDLI.h
6  **
7  **   Project:     Run Time Project File Access
8  **
9  **   Description: Header file for Access.h
10  **
11  **  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 Hewlett-Packard Company
12  **
13  **  (c) Copyright 1993, 1994 Hewlett-Packard Company
14  **  (c) Copyright 1993, 1994 International Business Machines Corp.
15  **  (c) Copyright 1993, 1994 Sun Microsystems, Inc.
16  **  (c) Copyright 1993, 1994 Novell, Inc.
17  **
18  **
19  ****************************************************************************
20  ************************************<+>*************************************/
21 #ifndef _DtHelpAccessSDLI_h
22 #define _DtHelpAccessSDLI_h
23
24 /****************************************************************************
25  *                      Semi-Private Routines
26  ****************************************************************************/
27 extern  void             _DtHelpCeCleanSdlVolume(
28                                 _DtHelpVolumeHdl        volume );
29 extern  void             _DtHelpCeCloseSdlVolume (
30                                 _DtHelpVolumeHdl        volume);
31 extern  int              _DtHelpCeFindSdlId (
32                                 _DtHelpVolumeHdl  vol,
33                                 char             *target_id,
34                                 int               fd,
35                                 char            **ret_name,
36                                 int              *ret_offset );
37 extern  int              _DtHelpCeGetSdlDocStamp (
38                                 _DtHelpVolumeHdl  volume,
39                                 char            **ret_doc,
40                                 char            **ret_time);
41 extern  char            *_DtHelpCeGetSdlHomeTopicId (_DtHelpVolumeHdl vol);
42 extern  int              _DtHelpCeGetSdlIdPath (
43                                 _DtHelpVolumeHdl   volume,
44                                 char              *target_id,
45                                 char            ***ret_ids);
46 extern  _DtCvSegment    *_DtHelpCeMapSdlIdToElement(
47                                 _DtHelpVolumeHdl  vol,
48                                 char             *target_id,
49                                 int               fd);
50 extern  int              _DtHelpCeGetSdlKeywordList (
51                                 _DtHelpVolumeHdl        volume);
52 extern  int              _DtHelpCeGetSdlTopicChildren(
53                                 _DtHelpVolumeHdl  volume,
54                                 char             *target_id,
55                                 char            ***ret_ids);
56 extern  const char      *_DtHelpCeGetSdlVolCharSet (
57                                 _DtHelpVolumeHdl        volume);
58 extern  char            *_DtHelpCeGetSdlVolLanguage (
59                                 _DtHelpVolumeHdl        volume);
60 extern  char            *_DtHelpCeGetSdlVolumeAsciiAbstract (
61                                 _DtHelpVolumeHdl        volume);
62 extern  char            *_DtHelpCeGetSdlVolumeLocale (
63                                 _DtHelpVolumeHdl        volume);
64 extern  CESDLVolume     *_DtHelpCeGetSdlVolumePtr(
65                                 _DtHelpVolumeHdl        volume );
66 extern  _DtCvSegment    *_DtHelpCeMapSdlIdToSegment(
67                                 _DtHelpVolumeHdl  vol,
68                                 const char       *target_id,
69                                 int               fd);
70 extern  void             _DtHelpCeInitSdlVolume(
71                                 _DtHelpVolumeHdl        volume );
72 extern  int              _DtHelpCeMapIdToSdlTopicId(
73                                 _DtHelpVolumeHdl  vol,
74                                 const char       *target_id,
75                                 char            **ret_id);
76 extern  int              _DtHelpCeOpenSdlVolume(
77                                 _DtHelpVolumeHdl        volume );
78 extern  int              _DtHelpCeRereadSdlVolume(
79                                 _DtHelpVolumeHdl        volume );
80 #endif /* _DtHelpAccessSDLI_h */