Library Version 12.1.6.0

Appendix C. Berkeley DB Application Space Static Functions
Prev |  | Next

## Appendix C. Berkeley DB Application Space Static Functions

This appendix describes functionality that existed on the DB_ENV handle in releases prior to Berkeley DB 3.1. In 3.1, this functionality was moved to as series of static functions, as in this appendix.

## Static Functions

Static Function | Description
--- | ---
db_env_set_func_close | Replace Berkeley DB calls to close() with the identified function.
db_env_set_func_dirfree | Specify function used to free memory obtained due to a directory walk.
db_env_set_func_dirlist | Specify function used to free memory obtained due to a directory list.
db_env_set_func_exists | Specify function used to determine whether a file exists.
db_env_set_func_file_map | Specify function used to map a file into memory.
db_env_set_func_free | Specify function used to free memory.
db_env_set_func_fsync | Specify function used to sync a file to disk.
db_env_set_func_ftruncate | Specify function used to truncate a file.
db_env_set_func_ioinfo | Specify function used to determine file characteristics.
db_env_set_func_malloc | Specify function used to allocate memory.
db_env_set_func_open | Specify function used to open a file.
db_env_set_func_pread | Specify function used to read data from an object.
db_env_set_func_pwrite | Specify function used to write data to an object.
db_env_set_func_read | Specify function used to read data from an object.
db_env_set_func_realloc | Specify function used to change the size of memory pointed to by a pointer.
db_env_set_func_region_map | Specify function used to created shared memory regions.
db_env_set_func_rename | Specify function used to change the name of a file.
db_env_set_func_seek | Specify function used to specify a location in a file.
db_env_set_func_unlink | Specify function used to delete a file.
db_env_set_func_write | Specify function used to write data to an object.
db_env_set_func_yield | Specify function used to yield the processor to another thread of control.

Prev |  | Next
hsearch | Home | db_env_set_func_close