Debian Codegraph @

docs/api_reference/C/DB_MULTIPLE_KEY_NEXT.html

raw symbols SCIP
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_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_NEXT.html" title="DB_MULTIPLE_NEXT" />
12 <link rel="next" href="DB_MULTIPLE_RECNO_NEXT.html" title="DB_MULTIPLE_RECNO_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_KEY_NEXT</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="DB_MULTIPLE_NEXT.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_RECNO_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_KEY_NEXT"></a>DB_MULTIPLE_KEY_NEXT</h2>
38 </div>
39 </div>
40 </div>
41 <pre class="programlisting">#include &lt;db.h&gt;
42
43 DB_MULTIPLE_KEY_NEXT(void *pointer, DBT *data,
44 void *retkey, size_t retklen, void *retdata, size_t retdlen); </pre>
45 <p>
46 If either of the
47 <a class="link" href="dbcget.html#dbcget_DB_MULTIPLE">DB_MULTIPLE</a>
48 or
49 <a class="link" href="dbcget.html#dbcget_DB_MULTIPLE_KEY">DB_MULTIPLE_KEY</a>
50 flags were specified to the <a class="xref" href="dbget.html" title="DB-&gt;get()">DB-&gt;get()</a> or
51 <a class="xref" href="dbcget.html" title="DBcursor-&gt;get()">DBcursor-&gt;get()</a> methods, the data
52 <a class="link" href="dbt.html" title="Chapter 4.  The DBT Handle">DBT</a> returned by those interfaces will
53 refer to a buffer that is filled with data. Access to that data is through the
54 DB_MULTIPLE_* macros.
55 </p>
56 <p>
57 Returns the next <a class="link" href="dbt.html" title="Chapter 4.  The DBT Handle">DBT</a> in the bulk
58 retrieval set. Use this macro with <a class="link" href="dbt.html" title="Chapter 4.  The DBT Handle">DBT</a>
59 structures obtained from a database that uses the Btree or Hash
60 access methods.
61 </p>
62 <div class="sect2" lang="en" xml:lang="en">
63 <div class="titlepage">
64 <div>
65 <div>
66 <h3 class="title"><a id="idp51135608"></a>Parameters</h3>
67 </div>
68 </div>
69 </div>
70 <div class="sect3" lang="en" xml:lang="en">
71 <div class="titlepage">
72 <div>
73 <div>
74 <h4 class="title"><a id="idp51135800"></a>pointer</h4>
75 </div>
76 </div>
77 </div>
78 <p>
79 The <span class="bold"><strong>pointer</strong></span> parameter is a variable
80 that must have been initialized by a call to
81 <a class="xref" href="DB_MULTIPLE_INIT.html" title="DB_MULTIPLE_INIT">DB_MULTIPLE_INIT</a>.
82 </p>
83 <p>
84 This parameter is set to NULL if there are no more key/data pairs in
85 the returned set.
86 </p>
87 </div>
88 <div class="sect3" lang="en" xml:lang="en">
89 <div class="titlepage">
90 <div>
91 <div>
92 <h4 class="title"><a id="idp51039576"></a>data</h4>
93 </div>
94 </div>
95 </div>
96 <p>
97 The <span class="bold"><strong>data</strong></span> parameter is a
98 <a class="link" href="dbt.html" title="Chapter 4.  The DBT Handle">DBT</a> structure returned from a
99 successful call to <a class="xref" href="dbcget.html" title="DBcursor-&gt;get()">DBcursor-&gt;get()</a> with the Btree or Hash
100 access methods for which the
101 <a class="link" href="dbcget.html#dbcget_DB_MULTIPLE_KEY">DB_MULTIPLE_KEY</a>
102 flag was specified.
103 </p>
104 <p>
105 The <span class="bold"><strong>data</strong></span> parameter must have been initialized by
106 a call to <a class="xref" href="DB_MULTIPLE_INIT.html" title="DB_MULTIPLE_INIT">DB_MULTIPLE_INIT</a>.
107 </p>
108 </div>
109 <div class="sect3" lang="en" xml:lang="en">
110 <div class="titlepage">
111 <div>
112 <div>
113 <h4 class="title"><a id="idp51057632"></a>retkey</h4>
114 </div>
115 </div>
116 </div>
117 <p>
118 The <span class="bold"><strong>retkey</strong></span> parameter is set
119 to the next key element in the returned set.
120 </p>
121 </div>
122 <div class="sect3" lang="en" xml:lang="en">
123 <div class="titlepage">
124 <div>
125 <div>
126 <h4 class="title"><a id="idp51123560"></a>retklen</h4>
127 </div>
128 </div>
129 </div>
130 <p>
131 The <span class="bold"><strong>retklen</strong></span> parameter is set to
132 the length, in bytes, of the next key element.
133 </p>
134 </div>
135 <div class="sect3" lang="en" xml:lang="en">
136 <div class="titlepage">
137 <div>
138 <div>
139 <h4 class="title"><a id="idp51136504"></a>retdata</h4>
140 </div>
141 </div>
142 </div>
143 <p>
144 The <span class="bold"><strong>retdata</strong></span> parameter is set
145 to the next data element in the returned set.
146 </p>
147 </div>
148 <div class="sect3" lang="en" xml:lang="en">
149 <div class="titlepage">
150 <div>
151 <div>
152 <h4 class="title"><a id="idp51137584"></a>retdlen</h4>
153 </div>
154 </div>
155 </div>
156 <p>
157 The <span class="bold"><strong>retdlen</strong></span> parameter is set to
158 the length, in bytes, of the next data element.
159 </p>
160 </div>
161 </div>
162 <div class="sect2" lang="en" xml:lang="en">
163 <div class="titlepage">
164 <div>
165 <div>
166 <h3 class="title"><a id="idp51138664"></a>Class</h3>
167 </div>
168 </div>
169 </div>
170 <p>
171 <a class="link" href="dbt.html" title="Chapter 4.  The DBT Handle">DBT</a>
172 </p>
173 </div>
174 <div class="sect2" lang="en" xml:lang="en">
175 <div class="titlepage">
176 <div>
177 <div>
178 <h3 class="title"><a id="idp51140000"></a>See Also</h3>
179 </div>
180 </div>
181 </div>
182 <p>
183 <a class="xref" href="dbt.html#dbtlist" title="DBT and Bulk Operations">DBT and Bulk Operations</a>
184 </p>
185 </div>
186 </div>
187 <div class="navfooter">
188 <hr />
189 <table width="100%" summary="Navigation footer">
190 <tr>
191 <td width="40%" align="left"><a accesskey="p" href="DB_MULTIPLE_NEXT.html">Prev</a> </td>
192 <td width="20%" align="center">
193 <a accesskey="u" href="dbt.html">Up</a>
194 </td>
195 <td width="40%" align="right"> <a accesskey="n" href="DB_MULTIPLE_RECNO_NEXT.html">Next</a></td>
196 </tr>
197 <tr>
198 <td width="40%" align="left" valign="top">DB_MULTIPLE_NEXT </td>
199 <td width="20%" align="center">
200 <a accesskey="h" href="index.html">Home</a>
201 </td>
202 <td width="40%" align="right" valign="top"> DB_MULTIPLE_RECNO_NEXT</td>
203 </tr>
204 </table>
205 </div>
206 </body>
207 </html>