Berkeley DB: C Interface by Public Structure Elements
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,b+tree,btr ee,hash,hashing,transaction,transactions,locking,logging,access method,access me thods,java,C,C++

# C Interface by Public Structure Elements

Berkeley DB Key/Data Pairs: DBT Structure | Description
--- | ---
data | Byte string value
dlen | Partial record length
doff | Partial record offset
size | The length of DBT:data
ulen | Application buffer length
Berkeley DB Environment: DB_ENV Structure | Description
db_errcall | Additional error information
db_errfile | Additional error information
db_errpfx | Additional error information
db_verbose | Informational and debugging messages
lg_max | Maximum single log file size
lk_conflicts | Lock modes
lk_detect | Deadlock detector configuration
lk_max | Number of locks in the table
lk_modes | Lock modes in the table
mp_mmapsize | Set the maximum mapped file size
mp_size | Size of the memory pool
tx_info | Return from txn_open
tx_max | Maximum simultaneous transactions
tx_recover | Transaction abort function
type | The type of the underlying access method
Berkeley DB Access Methods: DB_INFO Structure | Description
bt_compare | Btree Access Method: key comparison function
bt_minkey | Btree Access Method: minimum keys per page
bt_prefix | Btree Access Method: prefix comparison function
db_cachesize | Suggested cache size
db_lorder | Underlying database byte order
db_malloc | Returned memory allocation function
db_pagesize | Underlying database page size
dup_compare | Duplicate record comparison function
h_ffactor | Hash Access Method: desired density within the hash table
h_hash | Hash Access Method: key hash function
h_nelem | Hash Access Method: estimated table size
re_delim | Recno Access Method: variable-length record delimitor
re_len | Recno Access Method: fixed-length record length
re_pad | Recno Access Method: fixed-length record pad byte
re_source | Recno Access Method: backing source file
Berkeley DB Locking Subsystem: lockop_t Structure | Description
lock | Lock reference
mode | Lock mode
obj | Object to be locked
op | Lock operation to be performed
Berkeley DB Shared Memory Buffer Pool: Structures | Description
clear_len | Bytes to clear during page creation
fileid | Unique identifier for the file
ftype | File type
lsn_offset | Byte offset of the page LSN
pgcookie | Pgin/pgout function cookie