Berkeley DB Reference Guide:
Upgrading Berkeley DB Applications

PrevRefNext

Release 3.0: db_jump_set

The db_jump_set interface has been removed from the Berkeley DB 3.0 release, replaced by method calls on the DB_ENV handle.

The following table lists the db_jump_set arguments previously used by applications and the methods that should now be used instead.

db_jump_set argumentBerkeley DB 3.X method
DB_FUNC_CLOSEDBENV->set_func_close
DB_FUNC_DIRFREEDBENV->set_func_dirfree
DB_FUNC_DIRLISTDBENV->set_func_dirlist
DB_FUNC_EXISTSDBENV->set_func_exists
DB_FUNC_FREEDBENV->set_func_free
DB_FUNC_FSYNCDBENV->set_func_fsync
DB_FUNC_IOINFODBENV->set_func_ioinfo
DB_FUNC_MALLOCDBENV->set_func_malloc
DB_FUNC_MAPDBENV->set_func_map
DB_FUNC_OPENDBENV->set_func_open
DB_FUNC_READDBENV->set_func_read
DB_FUNC_REALLOCDBENV->set_func_realloc
DB_FUNC_RUNLINKThe DB_FUNC_RUNLINK functionality has been removed from the Berkeley DB 3.0 release, and should be removed from the application.
DB_FUNC_SEEKDBENV->set_func_seek
DB_FUNC_SLEEPDBENV->set_func_sleep
DB_FUNC_UNLINKDBENV->set_func_unlink
DB_FUNC_UNMAPDBENV->set_func_unmap
DB_FUNC_WRITEDBENV->set_func_write
DB_FUNC_YIELDDBENV->set_func_yield

PrevRefNext

Copyright Sleepycat Software