MmdbTGCI.sgm 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <!-- $XConsortium: MmdbTGCI.sgm /main/5 1996/09/08 20:09:25 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.DtMmdbTocGetChildIds">]]><refmeta><refentrytitle>
  10. DtMmdbTocGetChildIds</refentrytitle><manvolnum>library call</manvolnum></refmeta><refnamediv>
  11. <refname><function>DtMmdbTocGetChildIds</function></refname><refpurpose>obtains
  12. a list of object identifiers for child sections</refpurpose></refnamediv><refsynopsisdiv>
  13. <funcsynopsis>
  14. <funcsynopsisinfo>#include &lt;DtMmdb.h></funcsynopsisinfo>
  15. <funcdef>DtMmdbHandle** <function>DtMmdbTocGetChildIds</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>DtMmdbTocGetChildIds</function> function
  22. returns an array of the object identifiers for the child sections
  23. belonging to the specified section. Use
  24. the <function>DtmmdbFreeHandleList</function> to release the array
  25. when it is no longer needed.
  26. </para>
  27. </refsect1><refsect1>
  28. <title>ARGUMENTS</title>
  29. <variablelist>
  30. <varlistentry><term><symbol role="Variable">request</symbol></term>
  31. <listitem>
  32. <para>Specifies the bookcase in the bookcase descriptor field and
  33. the section's Database Engine identifier, in the
  34. <symbol role="Variable">primary_oid</symbol> field.
  35. </para>
  36. </listitem>
  37. </varlistentry>
  38. <varlistentry><term><symbol role="Variable">length</symbol></term>
  39. <listitem>
  40. <para>Specifies the variable to receive the length of the
  41. returned array (in bytes), if the returned pointer to the array
  42. is not NULL. If it is set to zero, the section has no child section.
  43. </para>
  44. </listitem>
  45. </varlistentry>
  46. </variablelist>
  47. </refsect1><refsect1>
  48. <title>RETURN VALUE</title>
  49. <para>If <function>DtMmdbTocGetChildIds</function> completes
  50. successfully, it returns a NULL-terminated object identifier array.
  51. If it fails, it returns a NULL pointer.
  52. </para>
  53. </refsect1><refsect1>
  54. <title>EXAMPLE</title>
  55. <para>The following shows how a <function>DtMmdbTocGetChildIds</function> call
  56. might be coded.</para>
  57. <informalexample>
  58. <programlisting>DtMmdbInfoRequest request; unsigned int length;
  59. /* fill the request here */
  60. handleList = DtMmdbTocGetChildIds(&amp;request, &amp;length);
  61. </programlisting>
  62. </informalexample>
  63. </refsect1><refsect1>
  64. <title>SEE ALSO</title>
  65. <para>TO BE SUPPLIED
  66. </para>
  67. </refsect1></refentry>