• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/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_RESERVE_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_KEY_WRITE_NEXT.html" title="DB_MULTIPLE_KEY_WRITE_NEXT" />
12    <link rel="next" href="DB_MULTIPLE_RECNO_WRITE_INIT.html" title="DB_MULTIPLE_RECNO_WRITE_INIT" />
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_RESERVE_NEXT</th>
19        </tr>
20        <tr>
21          <td width="20%" align="left"><a accesskey="p" href="DB_MULTIPLE_KEY_WRITE_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_RECNO_WRITE_INIT.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_RESERVE_NEXT"></a>DB_MULTIPLE_KEY_RESERVE_NEXT</h2>
35          </div>
36        </div>
37      </div>
38      <pre class="programlisting">#include &lt;db.h&gt;
39
40DB_MULTIPLE_KEY_RESERVE_NEXT(void *pointer, DBT *dbt,
41    void *kdest, size_t klen, void *ddest, size_t dlen); </pre>
42      <p>
43	    Reserves space for a key / data pair in a 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="id1659389"></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="id1659133"></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        </div>
67        <div class="sect3" lang="en" xml:lang="en">
68          <div class="titlepage">
69            <div>
70              <div>
71                <h4 class="title"><a id="id1659353"></a>kdest</h4>
72              </div>
73            </div>
74          </div>
75          <p>
76			The <span class="bold"><strong>kdest</strong></span> parameter is
77			set to the location reserved in the bulk buffer for the
78			key.
79                     </p>
80          <p>
81		         This parameter is set to NULL if the data item does not
82			 fit in the buffer.
83                     </p>
84        </div>
85        <div class="sect3" lang="en" xml:lang="en">
86          <div class="titlepage">
87            <div>
88              <div>
89                <h4 class="title"><a id="id1659668"></a>klen</h4>
90              </div>
91            </div>
92          </div>
93          <p>
94                         The number of bytes to be reserved for the key.
95                     </p>
96        </div>
97        <div class="sect3" lang="en" xml:lang="en">
98          <div class="titlepage">
99            <div>
100              <div>
101                <h4 class="title"><a id="id1659650"></a>ddest</h4>
102              </div>
103            </div>
104          </div>
105          <p>
106			The <span class="bold"><strong>ddest</strong></span> parameter is
107			set to the location reserved in the bulk buffer for the
108			data item.
109                     </p>
110          <p>
111		         This parameter is set to NULL if the data item does not
112			 fit in the buffer.
113                     </p>
114        </div>
115        <div class="sect3" lang="en" xml:lang="en">
116          <div class="titlepage">
117            <div>
118              <div>
119                <h4 class="title"><a id="id1659657"></a>dlen</h4>
120              </div>
121            </div>
122          </div>
123          <p>
124                         The number of bytes to be reserved for the data item.
125                     </p>
126        </div>
127      </div>
128      <div class="sect2" lang="en" xml:lang="en">
129        <div class="titlepage">
130          <div>
131            <div>
132              <h3 class="title"><a id="id1659390"></a>Class</h3>
133            </div>
134          </div>
135        </div>
136        <p>
137                <a class="link" href="dbt.html" title="Chapter��4.�� The DBT Handle">DBT</a>  
138            </p>
139      </div>
140      <div class="sect2" lang="en" xml:lang="en">
141        <div class="titlepage">
142          <div>
143            <div>
144              <h3 class="title"><a id="id1659580"></a>See Also</h3>
145            </div>
146          </div>
147        </div>
148        <p>
149                     <a class="xref" href="dbt.html#dbtlist" title="DBT and Bulk Operations">DBT and Bulk Operations</a> 
150                </p>
151      </div>
152    </div>
153    <div class="navfooter">
154      <hr />
155      <table width="100%" summary="Navigation footer">
156        <tr>
157          <td width="40%" align="left"><a accesskey="p" href="DB_MULTIPLE_KEY_WRITE_NEXT.html">Prev</a>��</td>
158          <td width="20%" align="center">
159            <a accesskey="u" href="dbt.html">Up</a>
160          </td>
161          <td width="40%" align="right">��<a accesskey="n" href="DB_MULTIPLE_RECNO_WRITE_INIT.html">Next</a></td>
162        </tr>
163        <tr>
164          <td width="40%" align="left" valign="top">DB_MULTIPLE_KEY_WRITE_NEXT��</td>
165          <td width="20%" align="center">
166            <a accesskey="h" href="index.html">Home</a>
167          </td>
168          <td width="40%" align="right" valign="top">��DB_MULTIPLE_RECNO_WRITE_INIT</td>
169        </tr>
170      </table>
171    </div>
172  </body>
173</html>
174