MmdbLGSL.sgm 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <!-- $XConsortium: MmdbLGSL.sgm /main/5 1996/09/08 20:07:33 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.DtMmdbLocatorGetSectLoc">]]><refmeta><refentrytitle>
  10. DtMmdbLocatorGetSectionLoc</refentrytitle><manvolnum>library call</manvolnum></refmeta><refnamediv>
  11. <refname><function>DtMmdbLocatorGetSectionLoc</function></refname><refpurpose>obtains
  12. the locator of a section</refpurpose></refnamediv><refsynopsisdiv>
  13. <funcsynopsis>
  14. <funcsynopsisinfo>#include &lt;DtMmdb.h></funcsynopsisinfo>
  15. <funcdef>const char* <function>DtMmdbLocatorGetSectionLoc</function></funcdef>
  16. <paramdef>DtMmdbInfoRequest* <parameter>request</parameter></paramdef>
  17. </funcsynopsis>
  18. </refsynopsisdiv><refsect1>
  19. <title>DESCRIPTION</title>
  20. <para>The <function>DtMmdbLocatorGetSectionLoc</function> function
  21. returns the locator of the section that contains the specified
  22. component. Do not use the
  23. <function>free</function> function on the returned pointer. Table lookup is
  24. involved because the component identifier is specified by the
  25. <symbol role="Variable">locator_ptr</symbol> field.
  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 the
  33. identifier of a component within the section in the
  34. <symbol role="Variable">locator_ptr</symbol> field.
  35. </para>
  36. </listitem>
  37. </varlistentry>
  38. </variablelist>
  39. </refsect1><refsect1>
  40. <title>RETURN VALUE</title>
  41. <para>If <function>DtMmdbLocatorGetSectionLoc</function> completes
  42. successfully, it returns a pointer to the section
  43. locator. If it fails, it returns a NULL pointer.
  44. </para>
  45. </refsect1><refsect1>
  46. <title>EXAMPLE</title>
  47. <para>The following shows how a <function>DtMmdbLocatorGetSectionLoc</function> call
  48. might be coded.</para>
  49. <informalexample>
  50. <programlisting>DtMmdbInfoRequest request;
  51. /* fill the request */
  52. DtMmdbLocatorGetSectionLoc(&amp;request);
  53. </programlisting>
  54. </informalexample>
  55. </refsect1><refsect1>
  56. <title>SEE ALSO</title>
  57. <para>TO BE SUPPLIED</para>
  58. </refsect1></refentry>