### 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
--- | ---
DB_ENV->set_func_close | db_env_set_func_close
DB_ENV->set_func_dirfree | db_env_set_func_dirfree
DB_ENV->set_func_dirlist | db_env_set_func_dirlist
DB_ENV->set_func_exists | db_env_set_func_exists
DB_ENV->set_func_free | db_env_set_func_free
DB_ENV->set_func_fsync | db_env_set_func_fsync
DB_ENV->set_func_ioinfo | db_env_set_func_ioinfo
DB_ENV->set_func_malloc | db_env_set_func_malloc
DB_ENV->set_func_map | db_env_set_func_map
DB_ENV->set_func_open | db_env_set_func_open
DB_ENV->set_func_read | db_env_set_func_read
DB_ENV->set_func_realloc | db_env_set_func_realloc
DB_ENV->set_func_rename | db_env_set_func_rename
DB_ENV->set_func_seek | db_env_set_func_seek
DB_ENV->set_func_sleep | db_env_set_func_sleep
DB_ENV->set_func_unlink | db_env_set_func_unlink
DB_ENV->set_func_unmap | db_env_set_func_unmap
DB_ENV->set_func_write | db_env_set_func_write
DB_ENV->set_func_yield | db_env_set_func_yield
DB_ENV->set_pageyield | db_env_set_pageyield
DB_ENV->set_region_init | db_env_set_region_init
DB_ENV->set_mutexlocks | DB_ENV->set_mutexlocks
DB_ENV->set_tas_spins | db_env_set_tas_spins

Copyright Sleepycat Software