MmdbGBLs.sgm 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <!-- $XConsortium: MmdbGBLs.sgm /main/6 1996/09/08 20:06:49 rws $ -->
  2. <!-- (c) Copyright 1996 Digital Equipment Corporation. -->
  3. <!-- (c) Copyright 1996 Hewlett-Packard Company. -->
  4. <!-- (c) Copyright 1996 International Business Machines Corp. -->
  5. <!-- (c) Copyright 1996 Sun Microsystems, Inc. -->
  6. <!-- (c) Copyright 1996 Novell, Inc. -->
  7. <!-- (c) Copyright 1996 FUJITSU LIMITED. -->
  8. <!-- (c) Copyright 1996 Hitachi. -->
  9. <![ %CDE.C.CDE; [<refentry id="CDE.INFO.DtMmdbGetBookCaseByLocs">]]><refmeta><refentrytitle>
  10. DtMmdbGetBookCaseByLocs</refentrytitle><manvolnum>library call</manvolnum></refmeta><refnamediv>
  11. <refname><function>DtMmdbGetBookCaseByLocs</function></refname><refpurpose>obtains
  12. descriptors for a set of bookcases based on hypertext link targets
  13. </refpurpose></refnamediv><refsynopsisdiv>
  14. <funcsynopsis>
  15. <funcsynopsisinfo>#include &lt;DtMmdb.h></funcsynopsisinfo>
  16. <funcdef>int <function>DtMmdbGetBookCaseByLocs</function></funcdef>
  17. <paramdef>int <parameter>infolib_descriptor</parameter></paramdef>
  18. <paramdef>const char** <parameter>locators</parameter></paramdef>
  19. </funcsynopsis>
  20. </refsynopsisdiv><refsect1>
  21. <title>DESCRIPTION</title>
  22. <para>The <function>DtMmdbGetBookCaseByLocs</function> function
  23. makes the database engine ready to provide access service for
  24. a set of bookcases. It allows you to access multiple bookcases by
  25. specifying hypertext link targets that occur within the bookcases.
  26. Use the <function>free</function> function to release the
  27. array of bookcase descriptors
  28. when it is no longer needed.</para>
  29. </refsect1><refsect1>
  30. <title>ARGUMENTS</title>
  31. <variablelist>
  32. <varlistentry><term><symbol role="Variable">infolib_path</symbol></term>
  33. <listitem>
  34. <para>Specifies the infolib that contains the bookcase.</para>
  35. </listitem>
  36. </varlistentry>
  37. <varlistentry><term><symbol role="Variable">locators</symbol></term>
  38. <listitem>
  39. <para>Specifies a zero-terminated array of locators of hypertext link
  40. targets. Each target can be a section or a
  41. component within a section.
  42. </para>
  43. </listitem>
  44. </varlistentry>
  45. </variablelist>
  46. </refsect1><refsect1>
  47. <title>RETURN VALUE</title>
  48. <para>If <function>DtMmdbGetBookCaseByLocs</function> completes
  49. successfully, it returns a pointer to a NULL-terminated array
  50. of bookcase descriptors. If it fails, it returns NULL.
  51. </para>
  52. </refsect1><refsect1>
  53. <title>EXAMPLE</title>
  54. <para>The following shows how a <function>DtMmdbGetBookCaseByLocs</function> call
  55. might be coded.</para>
  56. <informalexample>
  57. <programlisting>char locs[] = {"abcde0123456789", "fghij0123456789", 0 };
  58. int* descriptor_array = DtMmdbGetBookCaseByLocs(myInfoLibDescriptor, locs);
  59. </programlisting>
  60. </informalexample>
  61. </refsect1><refsect1>
  62. <title>SEE ALSO</title>
  63. <para>&cdeman.DtMmdbGetBookCaseByIndex;,
  64. &cdeman.DtMmdbGetBookCaseByLoc;,
  65. &cdeman.DtMmdbGetBookCaseByName;
  66. </para>
  67. </refsect1></refentry>