1<!--$Id: value_set.so,v 11.10 2003/10/18 19:16:14 bostic Exp $--> 2<!--Copyright (c) 1997,2008 Oracle. All rights reserved.--> 3<!--See the file LICENSE for redistribution information.--> 4<html> 5<head> 6<title>Berkeley DB Reference Guide: Release 3.0: db_value_set</title> 7<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> 8<meta name="keywords" content="embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++"> 9</head> 10<body bgcolor=white> 11<table width="100%"><tr valign=top> 12<td><b><dl><dt>Berkeley DB Reference Guide:<dd>Upgrading Berkeley DB Applications</dl></b></td> 13<td align=right><a href="/upgrade.3.0/jump_set.html"><img src="/images/prev.gif" alt="Prev"></a><a href="/toc.html"><img src="/images/ref.gif" alt="Ref"></a><a href="/upgrade.3.0/dbenv_cxx.html"><img src="/images/next.gif" alt="Next"></a> 14</td></tr></table> 15<p align=center><b>Release 3.0: db_value_set</b></p> 16<p>The db_value_set function has been removed from the Berkeley DB 3.0 release, 17replaced by method calls on the <a href="/api_c/env_class.html">DB_ENV</a> handle.</p> 18<p>The following table lists the db_value_set arguments previously used by 19applications and the function that should now be used instead.</p> 20<table border=1 align=center> 21<tr><th>db_value_set argument</th><th>Berkeley DB 3.X method</th></tr> 22<tr><td>DB_MUTEX_LOCKS</td><td>dbenv_set_mutexlocks</td></tr> 23<tr><td>DB_REGION_ANON</td><td>The DB_REGION_ANON functionality has 24been replaced by the <a href="/api_c/env_open.html#DB_SYSTEM_MEM">DB_SYSTEM_MEM</a> and <a href="/api_c/env_open.html#DB_PRIVATE">DB_PRIVATE</a> flags 25to the <a href="/api_c/env_open.html">DB_ENV->open</a> function. A direct translation is not 26available, please review the <a href="/api_c/env_open.html">DB_ENV->open</a> manual page for more 27information.</td></tr> 28<tr><td>DB_REGION_INIT</td><td>dbenv_set_region_init</td></tr> 29<tr><td>DB_REGION_NAME</td><td>The DB_REGION_NAME functionality has 30been replaced by the <a href="/api_c/env_open.html#DB_SYSTEM_MEM">DB_SYSTEM_MEM</a> and <a href="/api_c/env_open.html#DB_PRIVATE">DB_PRIVATE</a> flags 31to the <a href="/api_c/env_open.html">DB_ENV->open</a> function. A direct translation is not 32available, please review the <a href="/api_c/env_open.html">DB_ENV->open</a> manual page for more 33information.</td></tr> 34<tr><td>DB_TSL_SPINS</td><td>dbenv_set_tas_spins</td></tr> 35</table> 36<table width="100%"><tr><td><br></td><td align=right><a href="/upgrade.3.0/jump_set.html"><img src="/images/prev.gif" alt="Prev"></a><a href="/toc.html"><img src="/images/ref.gif" alt="Ref"></a><a href="/upgrade.3.0/dbenv_cxx.html"><img src="/images/next.gif" alt="Next"></a> 37</td></tr></table> 38<p><font size=1>Copyright (c) 1996,2008 Oracle. All rights reserved.</font> 39</body> 40</html> 41