• 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_RECNO_WRITE_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="DB_MULTIPLE_KEY_RESERVE_NEXT.html" title="DB_MULTIPLE_KEY_RESERVE_NEXT" />
12    <link rel="next" href="DB_MULTIPLE_RECNO_WRITE_NEXT.html" title="DB_MULTIPLE_RECNO_WRITE_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_RECNO_WRITE_INIT</th>
19        </tr>
20        <tr>
21          <td width="20%" align="left"><a accesskey="p" href="DB_MULTIPLE_KEY_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_RECNO_WRITE_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_RECNO_WRITE_INIT"></a>DB_MULTIPLE_RECNO_WRITE_INIT</h2>
35          </div>
36        </div>
37      </div>
38      <pre class="programlisting">#include &lt;db.h&gt;
39
40DB_MULTIPLE_RECNO_WRITE_INIT(void *pointer, DBT *data); </pre>
41      <p>              
42        Initialize a DBT containing a bulk buffer for use with the
43	<a class="link" href="dbput.html#put_DB_MULTIPLE">DB_MULTIPLE</a>
44	or <a class="link" href="dbput.html#put_DB_MULTIPLE_KEY">DB_MULTIPLE_KEY</a>
45	flags to the <a class="xref" href="dbput.html" title="DB-&gt;put()">DB-&gt;put()</a> or
46	<a class="xref" href="dbdel.html" title="DB-&gt;del()">DB-&gt;del()</a> methods, if the buffer
47	will contain record number keys.
48    </p>
49      <p>
50	This macro initializes an opaque pointer variable used for adding
51	records to a bulk buffer.  Use this macro for buffers that will contain
52	either a list of record numbers (for use with
53	<a class="link" href="dbput.html#put_DB_MULTIPLE">DB_MULTIPLE</a>),
54	or key/data pairs, where the key is a record number.
55    </p>
56      <div class="sect2" lang="en" xml:lang="en">
57        <div class="titlepage">
58          <div>
59            <div>
60              <h3 class="title"><a id="id1659489"></a>Parameters</h3>
61            </div>
62          </div>
63        </div>
64        <div class="sect3" lang="en" xml:lang="en">
65          <div class="titlepage">
66            <div>
67              <div>
68                <h4 class="title"><a id="id1659640"></a>pointer</h4>
69              </div>
70            </div>
71          </div>
72          <p>
73                        The <span class="bold"><strong>pointer</strong></span> parameter is an
74                        opaque pointer variable to be initialized. 
75                     </p>
76        </div>
77        <div class="sect3" lang="en" xml:lang="en">
78          <div class="titlepage">
79            <div>
80              <div>
81                <h4 class="title"><a id="id1659523"></a>data</h4>
82              </div>
83            </div>
84          </div>
85          <p>
86			The <span class="bold"><strong>data</strong></span> parameter is
87			a <a class="link" href="dbt.html" title="Chapter��4.�� The DBT Handle">DBT</a> structure that
88			has been initialized by the application with a buffer
89			to hold multiple records.  The
90			<span class="bold"><strong>ulen</strong></span> field must be set
91			to the size of the buffer allocated by the application,
92			which must be a multiple of 4.
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="id1659832"></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="id1659769"></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="DB_MULTIPLE_KEY_RESERVE_NEXT.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_RECNO_WRITE_NEXT.html">Next</a></td>
130        </tr>
131        <tr>
132          <td width="40%" align="left" valign="top">DB_MULTIPLE_KEY_RESERVE_NEXT��</td>
133          <td width="20%" align="center">
134            <a accesskey="h" href="index.html">Home</a>
135          </td>
136          <td width="40%" align="right" valign="top">��DB_MULTIPLE_RECNO_WRITE_NEXT</td>
137        </tr>
138      </table>
139    </div>
140  </body>
141</html>
142