| 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 4 | <head> |
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
| 6 | <title>DB_MULTIPLE_INIT</title> |
| 7 | <link rel="stylesheet" href="apiReference.css" type="text/css" /> |
| 8 | <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /> |
| 9 | <link rel="start" href="index.html" title="Berkeley DB C API Reference" /> |
| 10 | <link rel="up" href="dbt.html" title="Chapter 4. The DBT Handle" /> |
| 11 | <link rel="prev" href="dbt.html" title="Chapter 4. The DBT Handle" /> |
| 12 | <link rel="next" href="DB_MULTIPLE_NEXT.html" title="DB_MULTIPLE_NEXT" /> |
| 13 | </head> |
| 14 | <body> |
| 15 | <div xmlns="" class="navheader"> |
| 16 | <div class="libver"> |
| 17 | <p>Library Version 11.2.5.3</p> |
| 18 | </div> |
| 19 | <table width="100%" summary="Navigation header"> |
| 20 | <tr> |
| 21 | <th colspan="3" align="center">DB_MULTIPLE_INIT</th> |
| 22 | </tr> |
| 23 | <tr> |
| 24 | <td width="20%" align="left"><a accesskey="p" href="dbt.html">Prev</a> </td> |
| 25 | <th width="60%" align="center">Chapter 4. |
| 26 | The DBT Handle |
| 27 | </th> |
| 28 | <td width="20%" align="right"> <a accesskey="n" href="DB_MULTIPLE_NEXT.html">Next</a></td> |
| 29 | </tr> |
| 30 | </table> |
| 31 | <hr /> |
| 32 | </div> |
| 33 | <div class="sect1" lang="en" xml:lang="en"> |
| 34 | <div class="titlepage"> |
| 35 | <div> |
| 36 | <div> |
| 37 | <h2 class="title" style="clear: both"><a id="DB_MULTIPLE_INIT"></a>DB_MULTIPLE_INIT</h2> |
| 38 | </div> |
| 39 | </div> |
| 40 | </div> |
| 41 | <pre class="programlisting">#include <db.h> |
| 42 | |
| 43 | DB_MULTIPLE_INIT(void *pointer, DBT *data); </pre> |
| 44 | <p> |
| 45 | If either of the |
| 46 | <a class="link" href="dbcget.html#dbcget_DB_MULTIPLE">DB_MULTIPLE</a> |
| 47 | or |
| 48 | <a class="link" href="dbcget.html#dbcget_DB_MULTIPLE_KEY">DB_MULTIPLE_KEY</a> |
| 49 | flags were specified to the <a class="xref" href="dbget.html" title="DB->get()">DB->get()</a> or |
| 50 | <a class="xref" href="dbcget.html" title="DBcursor->get()">DBcursor->get()</a> methods, the data |
| 51 | <a class="link" href="dbt.html" title="Chapter 4. The DBT Handle">DBT</a> returned by those interfaces will |
| 52 | refer to a buffer that is filled with data. Access to that data is through the |
| 53 | DB_MULTIPLE_* macros. |
| 54 | </p> |
| 55 | <p> |
| 56 | This macro initializes a variable used for bulk retrieval. |
| 57 | </p> |
| 58 | <div class="sect2" lang="en" xml:lang="en"> |
| 59 | <div class="titlepage"> |
| 60 | <div> |
| 61 | <div> |
| 62 | <h3 class="title"><a id="idp51075784"></a>Parameters</h3> |
| 63 | </div> |
| 64 | </div> |
| 65 | </div> |
| 66 | <div class="sect3" lang="en" xml:lang="en"> |
| 67 | <div class="titlepage"> |
| 68 | <div> |
| 69 | <div> |
| 70 | <h4 class="title"><a id="idp51076064"></a>pointer</h4> |
| 71 | </div> |
| 72 | </div> |
| 73 | </div> |
| 74 | <p> |
| 75 | The <span class="bold"><strong>pointer</strong></span> parameter is a variable to be |
| 76 | initialized. |
| 77 | </p> |
| 78 | </div> |
| 79 | <div class="sect3" lang="en" xml:lang="en"> |
| 80 | <div class="titlepage"> |
| 81 | <div> |
| 82 | <div> |
| 83 | <h4 class="title"><a id="idp51077696"></a>data</h4> |
| 84 | </div> |
| 85 | </div> |
| 86 | </div> |
| 87 | <p> |
| 88 | The <span class="bold"><strong>data</strong></span> parameter is a |
| 89 | <a class="link" href="dbt.html" title="Chapter 4. The DBT Handle">DBT</a> structure returned from a |
| 90 | successful call to <a class="xref" href="dbget.html" title="DB->get()">DB->get()</a> or |
| 91 | <a class="xref" href="dbcget.html" title="DBcursor->get()">DBcursor->get()</a> for which one of the |
| 92 | <a class="link" href="dbcget.html#dbcget_DB_MULTIPLE">DB_MULTIPLE</a> |
| 93 | or |
| 94 | <a class="link" href="dbcget.html#dbcget_DB_MULTIPLE_KEY">DB_MULTIPLE_KEY</a> |
| 95 | flags were specified. |
| 96 | </p> |
| 97 | </div> |
| 98 | </div> |
| 99 | <div class="sect2" lang="en" xml:lang="en"> |
| 100 | <div class="titlepage"> |
| 101 | <div> |
| 102 | <div> |
| 103 | <h3 class="title"><a id="idp51112456"></a>Class</h3> |
| 104 | </div> |
| 105 | </div> |
| 106 | </div> |
| 107 | <p> |
| 108 | <a class="link" href="dbt.html" title="Chapter 4. The DBT Handle">DBT</a> |
| 109 | </p> |
| 110 | </div> |
| 111 | <div class="sect2" lang="en" xml:lang="en"> |
| 112 | <div class="titlepage"> |
| 113 | <div> |
| 114 | <div> |
| 115 | <h3 class="title"><a id="idp51078448"></a>See Also</h3> |
| 116 | </div> |
| 117 | </div> |
| 118 | </div> |
| 119 | <p> |
| 120 | <a class="xref" href="dbt.html#dbtlist" title="DBT and Bulk Operations">DBT and Bulk Operations</a> |
| 121 | </p> |
| 122 | </div> |
| 123 | </div> |
| 124 | <div class="navfooter"> |
| 125 | <hr /> |
| 126 | <table width="100%" summary="Navigation footer"> |
| 127 | <tr> |
| 128 | <td width="40%" align="left"><a accesskey="p" href="dbt.html">Prev</a> </td> |
| 129 | <td width="20%" align="center"> |
| 130 | <a accesskey="u" href="dbt.html">Up</a> |
| 131 | </td> |
| 132 | <td width="40%" align="right"> <a accesskey="n" href="DB_MULTIPLE_NEXT.html">Next</a></td> |
| 133 | </tr> |
| 134 | <tr> |
| 135 | <td width="40%" align="left" valign="top">Chapter 4. |
| 136 | The DBT Handle |
| 137 | </td> |
| 138 | <td width="20%" align="center"> |
| 139 | <a accesskey="h" href="index.html">Home</a> |
| 140 | </td> |
| 141 | <td width="40%" align="right" valign="top"> DB_MULTIPLE_NEXT</td> |
| 142 | </tr> |
| 143 | </table> |
| 144 | </div> |
| 145 | </body> |
| 146 | </html> |