• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/db-4.8.30/docs/programmer_reference/
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>Release 3.0: db_value_set</title>
7    <link rel="stylesheet" href="gettingStarted.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 Programmer's Reference Guide" />
10    <link rel="up" href="upgrade_3_0_toc.html" title="Chapter 33. Upgrading Berkeley DB 2.X applications to Berkeley DB 3.0" />
11    <link rel="prev" href="upgrade_3_0_jump_set.html" title="Release 3.0: db_jump_set" />
12    <link rel="next" href="upgrade_3_0_dbenv_cxx.html" title="Release 3.0: the DbEnv class for C++ and Java" />
13  </head>
14  <body>
15    <div class="navheader">
16      <table width="100%" summary="Navigation header">
17        <tr>
18          <th colspan="3" align="center">Release 3.0: db_value_set</th>
19        </tr>
20        <tr>
21          <td width="20%" align="left"><a accesskey="p" href="upgrade_3_0_jump_set.html">Prev</a> </td>
22          <th width="60%" align="center">Chapter 33. Upgrading Berkeley DB 2.X applications to Berkeley DB 3.0</th>
23          <td width="20%" align="right"> <a accesskey="n" href="upgrade_3_0_dbenv_cxx.html">Next</a></td>
24        </tr>
25      </table>
26      <hr />
27    </div>
28    <div class="sect1" lang="en" xml:lang="en">
29      <div class="titlepage">
30        <div>
31          <div>
32            <h2 class="title" style="clear: both"><a id="upgrade_3_0_value_set"></a>Release 3.0: db_value_set</h2>
33          </div>
34        </div>
35      </div>
36      <p>The db_value_set function has been removed from the Berkeley DB 3.0 release,
37replaced by method calls on the <a href="../api_reference/C/env.html" class="olink">DB_ENV</a> handle.</p>
38      <p>The following table lists the db_value_set arguments previously used by
39applications and the function that should now be used instead.</p>
40      <div class="informaltable">
41        <table border="1" width="80%">
42          <colgroup>
43            <col />
44            <col />
45          </colgroup>
46          <thead>
47            <tr>
48              <th>db_value_set argument</th>
49              <th>Berkeley DB 3.X method</th>
50            </tr>
51          </thead>
52          <tbody>
53            <tr>
54              <td>DB_MUTEX_LOCKS</td>
55              <td>dbenv_set_mutexlocks</td>
56            </tr>
57            <tr>
58              <td>DB_REGION_ANON</td>
59              <td>The DB_REGION_ANON functionality has
60been replaced by the <a href="../api_reference/C/envopen.html#envopen_DB_SYSTEM_MEM" class="olink">DB_SYSTEM_MEM</a> and <a href="../api_reference/C/envopen.html#open_DB_PRIVATE" class="olink">DB_PRIVATE</a> flags
61to the <a href="../api_reference/C/envopen.html" class="olink">DB_ENV-&gt;open()</a> function.  A direct translation is not
62available, please review the <a href="../api_reference/C/envopen.html" class="olink">DB_ENV-&gt;open()</a> manual page for more
63information.</td>
64            </tr>
65            <tr>
66              <td>DB_REGION_INIT</td>
67              <td>dbenv_set_region_init</td>
68            </tr>
69            <tr>
70              <td>DB_REGION_NAME</td>
71              <td>The DB_REGION_NAME functionality has
72been replaced by the <a href="../api_reference/C/envopen.html#envopen_DB_SYSTEM_MEM" class="olink">DB_SYSTEM_MEM</a> and <a href="../api_reference/C/envopen.html#open_DB_PRIVATE" class="olink">DB_PRIVATE</a> flags
73to the <a href="../api_reference/C/envopen.html" class="olink">DB_ENV-&gt;open()</a> function.  A direct translation is not
74available, please review the <a href="../api_reference/C/envopen.html" class="olink">DB_ENV-&gt;open()</a> manual page for more
75information.</td>
76            </tr>
77            <tr>
78              <td>DB_TSL_SPINS</td>
79              <td>dbenv_set_tas_spins</td>
80            </tr>
81          </tbody>
82        </table>
83      </div>
84    </div>
85    <div class="navfooter">
86      <hr />
87      <table width="100%" summary="Navigation footer">
88        <tr>
89          <td width="40%" align="left"><a accesskey="p" href="upgrade_3_0_jump_set.html">Prev</a> </td>
90          <td width="20%" align="center">
91            <a accesskey="u" href="upgrade_3_0_toc.html">Up</a>
92          </td>
93          <td width="40%" align="right"> <a accesskey="n" href="upgrade_3_0_dbenv_cxx.html">Next</a></td>
94        </tr>
95        <tr>
96          <td width="40%" align="left" valign="top">Release 3.0: db_jump_set </td>
97          <td width="20%" align="center">
98            <a accesskey="h" href="index.html">Home</a>
99          </td>
100          <td width="40%" align="right" valign="top"> Release 3.0: the DbEnv class for C++ and Java</td>
101        </tr>
102      </table>
103    </div>
104  </body>
105</html>
106