MmdbBGLT.sgm 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <!-- $XConsortium: MmdbBGLT.sgm /main/5 1996/08/30 13:05:05 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.DtMmdbBookGetLongTitle">]]><refmeta><refentrytitle>
  10. DtMmdbBookGetLongTitle</refentrytitle><manvolnum>library call</manvolnum></refmeta><refnamediv>
  11. <refname><function>DtMmdbBookGetLongTitle</function></refname><refpurpose>obtains
  12. the long title of a book</refpurpose></refnamediv><refsynopsisdiv>
  13. <funcsynopsis>
  14. <funcsynopsisinfo>#include &lt;DtMmdb.h></funcsynopsisinfo>
  15. <funcdef>const char* <function>DtMmdbBookGetLongTitle</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>DtMmdbBookGetLongTitle</function> function
  22. returns the long title of the specified book object. Do not use the
  23. <function>free</function> function on the returned pointer.
  24. Table lookup is involved when the identifier is specified by either the
  25. <symbol role="Variable">primary_oid</symbol> or
  26. <symbol role="Variable">sequence_num</symbol> field.
  27. </para>
  28. </refsect1><refsect1>
  29. <title>ARGUMENTS</title>
  30. <variablelist>
  31. <varlistentry><term><symbol role="Variable">request</symbol></term>
  32. <listitem>
  33. <para>Specifies the bookcase in the bookcase descriptor field, as well
  34. as a valid value in the <symbol role="Variable">primary_oid</symbol>, the
  35. <symbol role="Variable">secondary_oid</symbol>, or the
  36. <symbol role="Variable">sequence_num</symbol> field.
  37. The <symbol role="Variable">primary_oid</symbol> represents the
  38. DtInfo Database object identifier of the TOC section; the
  39. <symbol role="Variable">secondary_oid</symbol> represents the
  40. object identifier of the book itself; and the
  41. <symbol role="Variable">sequence_num</symbol> represents
  42. the sequence number of the book within the bookcase (0 based).
  43. If more than one of these fields have a valid value, the
  44. order of precedence is:
  45. <symbol role="Variable">primary_oid</symbol>,
  46. <symbol role="Variable">secondary_oid</symbol>, and, last,
  47. <symbol role="Variable">sequence_num</symbol>.
  48. </para>
  49. </listitem>
  50. </varlistentry>
  51. <varlistentry><term><symbol role="Variable">length</symbol></term>
  52. <listitem>
  53. <para>Specifies the variable to receive the length of the
  54. returned long title, if the returned pointer to the title is not NULL.
  55. </para>
  56. </listitem>
  57. </varlistentry>
  58. </variablelist>
  59. </refsect1><refsect1>
  60. <title>RETURN VALUE</title>
  61. <para>If <function>DtMmdbBookGetLongTitle</function> completes
  62. successfully, it returns a pointer to the book's long title.
  63. If it fails, it returns a NULL pointer.
  64. </para>
  65. </refsect1><refsect1>
  66. <title>EXAMPLE</title>
  67. <para>None.
  68. </para>
  69. </refsect1><refsect1>
  70. <title>SEE ALSO</title>
  71. <para>&cdeman.DtMmdbBookGetShortTitle;
  72. </para>
  73. </refsect1></refentry>