• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/db-4.8.30/docs/api_reference/C/
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_KEY_WRITE_NEXT</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="DB_MULTIPLE_RESERVE_NEXT.html" title="DB_MULTIPLE_RESERVE_NEXT" />
12    <link rel="next" href="DB_MULTIPLE_KEY_RESERVE_NEXT.html" title="DB_MULTIPLE_KEY_RESERVE_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_KEY_WRITE_NEXT</th>
19        </tr>
20        <tr>
21          <td width="20%" align="left"><a accesskey="p" href="DB_MULTIPLE_RESERVE_NEXT.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_KEY_RESERVE_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_KEY_WRITE_NEXT"></a>DB_MULTIPLE_KEY_WRITE_NEXT</h2>
35          </div>
36        </div>
37      </div>
38      <pre class="programlisting">#include &lt;db.h&gt;
39
40DB_MULTIPLE_KEY_WRITE_NEXT(void *pointer, DBT *dbt,
41    void *key, size_t klen, void *data, size_t dlen); </pre>
42      <p>
43	    Appends a key / data pair to the bulk buffer.
44    </p>
45      <div class="sect2" lang="en" xml:lang="en">
46        <div class="titlepage">
47          <div>
48            <div>
49              <h3 class="title"><a id="id1659220"></a>Parameters</h3>
50            </div>
51          </div>
52        </div>
53        <div class="sect3" lang="en" xml:lang="en">
54          <div class="titlepage">
55            <div>
56              <div>
57                <h4 class="title"><a id="id1659317"></a>pointer</h4>
58              </div>
59            </div>
60          </div>
61          <p>
62			The <span class="bold"><strong>pointer</strong></span> parameter
63			is a variable that must have been initialized by a call
64			to <a class="xref" href="DB_MULTIPLE_WRITE_INIT.html" title="DB_MULTIPLE_WRITE_INIT">DB_MULTIPLE_WRITE_INIT</a>.
65                     </p>
66          <p>
67		         This parameter is set to NULL if the data item does not
68			 fit in the buffer.
69                     </p>
70        </div>
71        <div class="sect3" lang="en" xml:lang="en">
72          <div class="titlepage">
73            <div>
74              <div>
75                <h4 class="title"><a id="id1659197"></a>dbt</h4>
76              </div>
77            </div>
78          </div>
79          <p>
80			The <span class="bold"><strong>dbt</strong></span> parameter is
81			a <a class="link" href="dbt.html" title="Chapter��4.�� The DBT Handle">DBT</a> structure
82			initialized with
83			<a class="xref" href="DB_MULTIPLE_WRITE_INIT.html" title="DB_MULTIPLE_WRITE_INIT">DB_MULTIPLE_WRITE_INIT</a>.
84                     </p>
85        </div>
86        <div class="sect3" lang="en" xml:lang="en">
87          <div class="titlepage">
88            <div>
89              <div>
90                <h4 class="title"><a id="id1659505"></a>key</h4>
91              </div>
92            </div>
93          </div>
94          <p>
95                         A pointer to the bytes for the key to be copied into the bulk buffer.
96                     </p>
97        </div>
98        <div class="sect3" lang="en" xml:lang="en">
99          <div class="titlepage">
100            <div>
101              <div>
102                <h4 class="title"><a id="id1659231"></a>klen</h4>
103              </div>
104            </div>
105          </div>
106          <p>
107                         The number of bytes to be copied for the key.
108                     </p>
109        </div>
110        <div class="sect3" lang="en" xml:lang="en">
111          <div class="titlepage">
112            <div>
113              <div>
114                <h4 class="title"><a id="id1659541"></a>data</h4>
115              </div>
116            </div>
117          </div>
118          <p>
119			 A pointer to the bytes for the data item to be copied
120			 into the bulk buffer.
121                     </p>
122        </div>
123        <div class="sect3" lang="en" xml:lang="en">
124          <div class="titlepage">
125            <div>
126              <div>
127                <h4 class="title"><a id="id1659542"></a>dlen</h4>
128              </div>
129            </div>
130          </div>
131          <p>
132                         The number of bytes to be copied for the data item.
133                     </p>
134        </div>
135      </div>
136      <div class="sect2" lang="en" xml:lang="en">
137        <div class="titlepage">
138          <div>
139            <div>
140              <h3 class="title"><a id="id1659513"></a>Class</h3>
141            </div>
142          </div>
143        </div>
144        <p>
145                <a class="link" href="dbt.html" title="Chapter��4.�� The DBT Handle">DBT</a>  
146            </p>
147      </div>
148      <div class="sect2" lang="en" xml:lang="en">
149        <div class="titlepage">
150          <div>
151            <div>
152              <h3 class="title"><a id="id1659232"></a>See Also</h3>
153            </div>
154          </div>
155        </div>
156        <p>
157                     <a class="xref" href="dbt.html#dbtlist" title="DBT and Bulk Operations">DBT and Bulk Operations</a> 
158                </p>
159      </div>
160    </div>
161    <div class="navfooter">
162      <hr />
163      <table width="100%" summary="Navigation footer">
164        <tr>
165          <td width="40%" align="left"><a accesskey="p" href="DB_MULTIPLE_RESERVE_NEXT.html">Prev</a>��</td>
166          <td width="20%" align="center">
167            <a accesskey="u" href="dbt.html">Up</a>
168          </td>
169          <td width="40%" align="right">��<a accesskey="n" href="DB_MULTIPLE_KEY_RESERVE_NEXT.html">Next</a></td>
170        </tr>
171        <tr>
172          <td width="40%" align="left" valign="top">DB_MULTIPLE_RESERVE_NEXT��</td>
173          <td width="20%" align="center">
174            <a accesskey="h" href="index.html">Home</a>
175          </td>
176          <td width="40%" align="right" valign="top">��DB_MULTIPLE_KEY_RESERVE_NEXT</td>
177        </tr>
178      </table>
179    </div>
180  </body>
181</html>
182