MmdbBGSN.sgm 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <!-- $XConsortium: MmdbBGSN.sgm /main/4 1996/08/25 20:55:37 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.DtMmdbBookGetSeqNum">]]><refmeta><refentrytitle>
  10. DtMmdbBookGetSeqNum</refentrytitle><manvolnum>library call</manvolnum></refmeta><refnamediv>
  11. <refname><function>DtMmdbBookGetSeqNum</function></refname><refpurpose>obtains
  12. the sequence number of a book</refpurpose></refnamediv><refsynopsisdiv>
  13. <funcsynopsis>
  14. <funcsynopsisinfo>#include &lt;DtMmdb.h></funcsynopsisinfo>
  15. <funcdef>int <function>DtMmdbBookGetSeqNum</function></funcdef>
  16. <paramdef>DtMmdbInfoRequest* <parameter>request</parameter></paramdef>
  17. </funcsynopsis>
  18. </refsynopsisdiv><refsect1>
  19. <title>DESCRIPTION</title>
  20. <para>The <function>DtMmdbBookGetSeqNum</function> function returns
  21. the sequence number of the specified book object. Table lookup is involved
  22. when the identifier is specified by the
  23. <symbol role="Variable">primary_oid</symbol> field.
  24. </para>
  25. </refsect1><refsect1>
  26. <title>ARGUMENTS</title>
  27. <variablelist>
  28. <varlistentry><term><symbol role="Variable">request</symbol></term>
  29. <listitem>
  30. <para>Specifies the bookcase in the bookcase descriptor field, as well
  31. as a valid value in the <symbol role="Variable">primary_oid</symbol> or
  32. the <symbol role="Variable">secondary_oid</symbol> field.
  33. The <symbol role="Variable">primary_oid</symbol> represents the
  34. DtInfo Database object identifier of the TOC section; and the
  35. <symbol role="Variable">secondary_oid</symbol> represents the
  36. object identifier of the book itself. If both of these fields have
  37. a valid value, the order of precedence is:
  38. <symbol role="Variable">primary_oid</symbol>
  39. and then <symbol role="Variable">secondary_oid</symbol>.
  40. </para>
  41. </listitem>
  42. </varlistentry>
  43. </variablelist>
  44. </refsect1><refsect1>
  45. <title>RETURN VALUE</title>
  46. <para>If <function>DtMmdbBookGetSeqNum</function> completes
  47. successfully, it returns the sequence number of the book.
  48. If it fails, it returns -1.
  49. </para>
  50. </refsect1><refsect1>
  51. <title>EXAMPLE</title>
  52. <para>None.
  53. </para>
  54. </refsect1><refsect1>
  55. <title>SEE ALSO</title>
  56. <para>TO BE SUPPLIED.</para>
  57. </refsect1></refentry>