2
0

MmdbGBBN.sgm 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <!-- $XConsortium: MmdbGBBN.sgm /main/6 1996/09/08 20:06:41 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.DtMmdbGetBookCaseByName">]]><refmeta><refentrytitle>
  10. DtMmdbGetBookCaseByName</refentrytitle><manvolnum>library call</manvolnum></refmeta><refnamediv>
  11. <refname><function>DtMmdbGetBookCaseByName</function></refname><refpurpose>
  12. obtains a descriptor for a bookcase based on the bookcase name
  13. </refpurpose></refnamediv><refsynopsisdiv>
  14. <funcsynopsis>
  15. <funcsynopsisinfo>#include &lt;DtMmdb.h></funcsynopsisinfo>
  16. <funcdef>int <function>DtMmdbGetBookCaseByName</function></funcdef>
  17. <paramdef>int <parameter>infolib_descriptor</parameter></paramdef>
  18. <paramdef>const char* <parameter>base_name</parameter></paramdef>
  19. </funcsynopsis>
  20. </refsynopsisdiv><refsect1>
  21. <title>DESCRIPTION</title>
  22. <para>The <function>DtMmdbGetBookCaseByName</function> function
  23. makes the database engine ready to provide access service for
  24. a bookcase. It allows you to access a bookcase by supplying
  25. its name.
  26. </para>
  27. </refsect1><refsect1>
  28. <title>ARGUMENTS</title>
  29. <variablelist>
  30. <varlistentry><term><symbol role="Variable">infolib_descriptor</symbol></term>
  31. <listitem>
  32. <para>Specifies the infolib that contains the bookcase.</para>
  33. </listitem>
  34. </varlistentry>
  35. <varlistentry><term><symbol role="Variable">base_name</symbol></term>
  36. <listitem>
  37. <para>Specifies the name of the bookcase.
  38. </para>
  39. </listitem>
  40. </varlistentry>
  41. </variablelist>
  42. </refsect1><refsect1>
  43. <title>RETURN VALUE</title>
  44. <para>If <function>DtMmdbGetBookCaseByName</function> completes
  45. successfully, it returns the descriptor for the bookcase.
  46. If it fails, it returns -1, indicating that there is
  47. no bookcase in the infolib with the specified name.
  48. </para>
  49. </refsect1><refsect1>
  50. <title>EXAMPLE</title>
  51. <para>The following shows how a <function>DtMmdbGetBookCaseByName</function> call
  52. might be coded.</para>
  53. <informalexample>
  54. <programlisting>DtMmdbGetBookCaseByName(myInfoLib, "thisBookCase");
  55. </programlisting>
  56. </informalexample>
  57. </refsect1><refsect1>
  58. <title>SEE ALSO</title>
  59. <para>&cdeman.DtMmdbGetBookCaseByIndex;,
  60. &cdeman.DtMmdbGetBookCaseByLoc;,
  61. &cdeman.DtMmdbGetBookCaseByLocs;
  62. </para>
  63. </refsect1></refentry>