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 class="navheader"> 16 <table width="100%" summary="Navigation header"> 17 <tr> 18 <th colspan="3" align="center">DB_MULTIPLE_INIT</th> 19 </tr> 20 <tr> 21 <td width="20%" align="left"><a accesskey="p" href="dbt.html">Prev</a>��</td> 22 <th width="60%" align="center">Chapter��4.�� 23 The DBT Handle 24 </th> 25 <td width="20%" align="right">��<a accesskey="n" href="DB_MULTIPLE_NEXT.html">Next</a></td> 26 </tr> 27 </table> 28 <hr /> 29 </div> 30 <div class="sect1" lang="en" xml:lang="en"> 31 <div class="titlepage"> 32 <div> 33 <div> 34 <h2 class="title" style="clear: both"><a id="DB_MULTIPLE_INIT"></a>DB_MULTIPLE_INIT</h2> 35 </div> 36 </div> 37 </div> 38 <pre class="programlisting">#include <db.h> 39 40DB_MULTIPLE_INIT(void *pointer, DBT *data); </pre> 41 <p> 42 If either of the 43 <a class="link" href="dbcget.html#dbcget_DB_MULTIPLE">DB_MULTIPLE</a> 44 or 45 <a class="link" href="dbcget.html#dbcget_DB_MULTIPLE_KEY">DB_MULTIPLE_KEY</a> 46 flags were specified to the <a class="xref" href="dbget.html" title="DB->get()">DB->get()</a> or 47 <a class="xref" href="dbcget.html" title="DBcursor->get()">DBcursor->get()</a> methods, the data 48 <a class="link" href="dbt.html" title="Chapter��4.�� The DBT Handle">DBT</a> returned by those interfaces will 49 refer to a buffer that is filled with data. Access to that data is through the 50 DB_MULTIPLE_* macros. 51 </p> 52 <p> 53 This macro initializes a variable used for bulk retrieval. 54 </p> 55 <div class="sect2" lang="en" xml:lang="en"> 56 <div class="titlepage"> 57 <div> 58 <div> 59 <h3 class="title"><a id="id1657076"></a>Parameters</h3> 60 </div> 61 </div> 62 </div> 63 <div class="sect3" lang="en" xml:lang="en"> 64 <div class="titlepage"> 65 <div> 66 <div> 67 <h4 class="title"><a id="id1658058"></a>pointer</h4> 68 </div> 69 </div> 70 </div> 71 <p> 72 The <span class="bold"><strong>pointer</strong></span> parameter is a variable to be 73 initialized. 74 </p> 75 </div> 76 <div class="sect3" lang="en" xml:lang="en"> 77 <div class="titlepage"> 78 <div> 79 <div> 80 <h4 class="title"><a id="id1657752"></a>data</h4> 81 </div> 82 </div> 83 </div> 84 <p> 85 The <span class="bold"><strong>data</strong></span> parameter is a 86 <a class="link" href="dbt.html" title="Chapter��4.�� The DBT Handle">DBT</a> structure returned from a 87 successful call to <a class="xref" href="dbget.html" title="DB->get()">DB->get()</a> or 88 <a class="xref" href="dbcget.html" title="DBcursor->get()">DBcursor->get()</a> for which one of the 89 <a class="link" href="dbcget.html#dbcget_DB_MULTIPLE">DB_MULTIPLE</a> 90 or 91 <a class="link" href="dbcget.html#dbcget_DB_MULTIPLE_KEY">DB_MULTIPLE_KEY</a> 92 flags were specified. 93 </p> 94 </div> 95 </div> 96 <div class="sect2" lang="en" xml:lang="en"> 97 <div class="titlepage"> 98 <div> 99 <div> 100 <h3 class="title"><a id="id1658326"></a>Class</h3> 101 </div> 102 </div> 103 </div> 104 <p> 105 <a class="link" href="dbt.html" title="Chapter��4.�� The DBT Handle">DBT</a> 106 </p> 107 </div> 108 <div class="sect2" lang="en" xml:lang="en"> 109 <div class="titlepage"> 110 <div> 111 <div> 112 <h3 class="title"><a id="id1656980"></a>See Also</h3> 113 </div> 114 </div> 115 </div> 116 <p> 117 <a class="xref" href="dbt.html#dbtlist" title="DBT and Bulk Operations">DBT and Bulk Operations</a> 118 </p> 119 </div> 120 </div> 121 <div class="navfooter"> 122 <hr /> 123 <table width="100%" summary="Navigation footer"> 124 <tr> 125 <td width="40%" align="left"><a accesskey="p" href="dbt.html">Prev</a>��</td> 126 <td width="20%" align="center"> 127 <a accesskey="u" href="dbt.html">Up</a> 128 </td> 129 <td width="40%" align="right">��<a accesskey="n" href="DB_MULTIPLE_NEXT.html">Next</a></td> 130 </tr> 131 <tr> 132 <td width="40%" align="left" valign="top">Chapter��4.�� 133 The DBT Handle 134 ��</td> 135 <td width="20%" align="center"> 136 <a accesskey="h" href="index.html">Home</a> 137 </td> 138 <td width="40%" align="right" valign="top">��DB_MULTIPLE_NEXT</td> 139 </tr> 140 </table> 141 </div> 142 </body> 143</html> 144