AccessSDLI.h 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. /*
  2. * CDE - Common Desktop Environment
  3. *
  4. * Copyright (c) 1993-2012, The Open Group. All rights reserved.
  5. *
  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)
  10. * any later version.
  11. *
  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
  16. * details.
  17. *
  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
  22. */
  23. /* $XConsortium: AccessSDLI.h /main/6 1995/12/18 16:30:06 cde-hp $ */
  24. /************************************<+>*************************************
  25. ****************************************************************************
  26. **
  27. ** File: AccessSDLI.h
  28. **
  29. ** Project: Run Time Project File Access
  30. **
  31. ** Description: Header file for Access.h
  32. **
  33. ** (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 Hewlett-Packard Company
  34. **
  35. ** (c) Copyright 1993, 1994 Hewlett-Packard Company
  36. ** (c) Copyright 1993, 1994 International Business Machines Corp.
  37. ** (c) Copyright 1993, 1994 Sun Microsystems, Inc.
  38. ** (c) Copyright 1993, 1994 Novell, Inc.
  39. **
  40. **
  41. ****************************************************************************
  42. ************************************<+>*************************************/
  43. #ifndef _DtHelpAccessSDLI_h
  44. #define _DtHelpAccessSDLI_h
  45. /****************************************************************************
  46. * Semi-Private Routines
  47. ****************************************************************************/
  48. extern void _DtHelpCeCleanSdlVolume(
  49. _DtHelpVolumeHdl volume );
  50. extern void _DtHelpCeCloseSdlVolume (
  51. _DtHelpVolumeHdl volume);
  52. extern int _DtHelpCeFindSdlId (
  53. _DtHelpVolumeHdl vol,
  54. char *target_id,
  55. int fd,
  56. char **ret_name,
  57. int *ret_offset );
  58. extern int _DtHelpCeGetSdlDocStamp (
  59. _DtHelpVolumeHdl volume,
  60. char **ret_doc,
  61. char **ret_time);
  62. extern char *_DtHelpCeGetSdlHomeTopicId (_DtHelpVolumeHdl vol);
  63. extern int _DtHelpCeGetSdlIdPath (
  64. _DtHelpVolumeHdl volume,
  65. char *target_id,
  66. char ***ret_ids);
  67. extern _DtCvSegment *_DtHelpCeMapSdlIdToElement(
  68. _DtHelpVolumeHdl vol,
  69. char *target_id,
  70. int fd);
  71. extern int _DtHelpCeGetSdlKeywordList (
  72. _DtHelpVolumeHdl volume);
  73. extern int _DtHelpCeGetSdlTopicChildren(
  74. _DtHelpVolumeHdl volume,
  75. char *target_id,
  76. char ***ret_ids);
  77. extern const char *_DtHelpCeGetSdlVolCharSet (
  78. _DtHelpVolumeHdl volume);
  79. extern char *_DtHelpCeGetSdlVolLanguage (
  80. _DtHelpVolumeHdl volume);
  81. extern char *_DtHelpCeGetSdlVolumeAsciiAbstract (
  82. _DtHelpVolumeHdl volume);
  83. extern char *_DtHelpCeGetSdlVolumeLocale (
  84. _DtHelpVolumeHdl volume);
  85. extern CESDLVolume *_DtHelpCeGetSdlVolumePtr(
  86. _DtHelpVolumeHdl volume );
  87. extern _DtCvSegment *_DtHelpCeMapSdlIdToSegment(
  88. _DtHelpVolumeHdl vol,
  89. const char *target_id,
  90. int fd);
  91. extern void _DtHelpCeInitSdlVolume(
  92. _DtHelpVolumeHdl volume );
  93. extern int _DtHelpCeMapIdToSdlTopicId(
  94. _DtHelpVolumeHdl vol,
  95. const char *target_id,
  96. char **ret_id);
  97. extern int _DtHelpCeOpenSdlVolume(
  98. _DtHelpVolumeHdl volume );
  99. extern int _DtHelpCeRereadSdlVolume(
  100. _DtHelpVolumeHdl volume );
  101. #endif /* _DtHelpAccessSDLI_h */