MmdbBGTL.sgm 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <!-- $XConsortium: MmdbBGTL.sgm /main/6 1996/09/08 20:05:16 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.DtMmdbBookGetTabList">]]><refmeta><refentrytitle>
  10. DtMmdbBookGetTabList</refentrytitle><manvolnum>library call</manvolnum></refmeta><refnamediv>
  11. <refname><function>DtMmdbBookGetTabList</function></refname><refpurpose>obtains
  12. the list of tab sections in a book</refpurpose></refnamediv><refsynopsisdiv>
  13. <funcsynopsis>
  14. <funcsynopsisinfo>#include &lt;DtMmdb.h></funcsynopsisinfo>
  15. <funcdef>DtMmdbHandle** <function>DtMmdbBookGetTabList</function></funcdef>
  16. <paramdef>DtMmdbInfoRequest* <parameter>request</parameter></paramdef>
  17. <paramdef>unsigned int* <parameter>length</parameter></paramdef>
  18. </funcsynopsis>
  19. </refsynopsisdiv><refsect1>
  20. <title>DESCRIPTION</title>
  21. <para>The <function>DtMmdbBookGetTabList</function> function
  22. returns the list of tab sections for the specified book object. It returns
  23. the list in a NULL-terminated array. Use the <function>DtMmdbFreeHandleList</function>
  24. function to release the memory when the array is no longer needed. Table lookup is
  25. involved when the identifier is specified by either the
  26. <symbol role="Variable">primary_oid</symbol> or
  27. <symbol role="Variable">sequence_num</symbol> field.
  28. </para>
  29. </refsect1><refsect1>
  30. <title>ARGUMENTS</title>
  31. <variablelist>
  32. <varlistentry><term><symbol role="Variable">request</symbol></term>
  33. <listitem>
  34. <para>Specifies the bookcase in the bookcase descriptor field, as well
  35. as a valid value in the <symbol role="Variable">primary_oid</symbol>, the
  36. <symbol role="Variable">secondary_oid</symbol>, or the
  37. <symbol role="Variable">sequence_num</symbol> field.
  38. The <symbol role="Variable">primary_oid</symbol> represents the
  39. DtInfo Database object identifier of the TOC section; the
  40. <symbol role="Variable">secondary_oid</symbol> represents the
  41. object identifier of the book itself; and the
  42. <symbol role="Variable">sequence_num</symbol> represents
  43. the sequence number of the book within the bookcase (0 based).
  44. If more than one of these fields have a valid value, the
  45. order of precedence is:
  46. <symbol role="Variable">primary_oid</symbol>,
  47. <symbol role="Variable">secondary_oid</symbol>, and, last,
  48. <symbol role="Variable">sequence_num</symbol>.
  49. </para>
  50. </listitem>
  51. </varlistentry>
  52. <varlistentry><term><symbol role="Variable">length</symbol></term>
  53. <listitem>
  54. <para>Specifies the variable to receive the length of the
  55. returned list of sections, if the returned pointer to the list is not NULL.
  56. </para>
  57. </listitem>
  58. </varlistentry>
  59. </variablelist>
  60. </refsect1><refsect1>
  61. <title>RETURN VALUE</title>
  62. <para>If <function>DtMmdbBookGetTabList</function> completes
  63. successfully, it returns a pointer to the list of sections
  64. for the book. If it fails, it returns a NULL pointer.
  65. </para>
  66. </refsect1><refsect1>
  67. <title>EXAMPLE</title>
  68. <para>None.
  69. </para>
  70. </refsect1><refsect1>
  71. <title>SEE ALSO</title>
  72. <para>TO BE SUPPLIED.
  73. </para>
  74. <!--
  75. &cdeman.DtMmdbBookGetTabList;,
  76. &cdeman.DtMmdbBookGetTabList;
  77. -->
  78. </refsect1></refentry>