### Berkeley DB Reference Guide: Upgrading Berkeley DB Applications |

# Release 3.1: environment configuration

A set of DB_ENV configuration methods which were not environment specific, but which instead affected the entire application space, have been removed from the DB_ENV object and replaced by static functions. The following table lists the DB_ENV methods previously available to applications and the static functions that should now be used instead.

DB_ENV method | Berkeley DB 3.1 function
--- | ---
DBENV->set_func_close | db_env_set_func_close
DBENV->set_func_dirfree | db_env_set_func_dirfree
DBENV->set_func_dirlist | db_env_set_func_dirlist
DBENV->set_func_exists | db_env_set_func_exists
DBENV->set_func_free | db_env_set_func_free
DBENV->set_func_fsync | db_env_set_func_fsync
DBENV->set_func_ioinfo | db_env_set_func_ioinfo
DBENV->set_func_malloc | db_env_set_func_malloc
DBENV->set_func_map | db_env_set_func_map
DBENV->set_func_open | db_env_set_func_open
DBENV->set_func_read | db_env_set_func_read
DBENV->set_func_realloc | db_env_set_func_realloc
DBENV->set_func_rename | db_env_set_func_rename
DBENV->set_func_seek | db_env_set_func_seek
DBENV->set_func_sleep | db_env_set_func_sleep
DBENV->set_func_unlink | db_env_set_func_unlink
DBENV->set_func_unmap | db_env_set_func_unmap
DBENV->set_func_write | db_env_set_func_write
DBENV->set_func_yield | db_env_set_func_yield
DBENV->set_pageyield | db_env_set_pageyield
DBENV->set_region_init | db_env_set_region_init
DBENV->set_mutexlocks | db_env_set_mutexlocks
DBENV->set_tas_spins | db_env_set_tas_spins

Copyright Sleepycat Software