head 1.2; access; symbols RPM_4_2_1:1.1.1.5 RPM_4_2:1.1.1.5 RPM_4_1_1:1.1.1.5 RPM_4_1:1.1.1.4 RPM_4_0_5:1.1.1.3 RPM_4_0_4:1.1.1.2 RPM_4_0_3:1.1.1.1 RPM:1.1.1; locks; strict; comment @# @; 1.2 date 2008.01.02.09.52.48; author rse; state dead; branches; next 1.1; commitid z4cpSiAhOCXk5PLs; 1.1 date 2001.07.23.20.45.36; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.07.23.20.45.36; author rse; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2002.01.08.00.30.07; author rse; state Exp; branches; next 1.1.1.3; 1.1.1.3 date 2003.01.18.13.48.55; author rse; state Exp; branches; next 1.1.1.4; 1.1.1.4 date 2001.10.15.03.47.29; author rse; state Exp; branches; next 1.1.1.5; 1.1.1.5 date 2003.01.18.14.04.56; author rse; state Exp; branches; next ; desc @@ 1.2 log @remove the ancient RPM 4.2.1 source tree copy @ text @ Berkeley DB: C Interface by Function/Structure

C Interface by Function/Structure

Database EnvironmentDescription
db_env_createCreate an environment handle
DB_ENV->closeClose an environment
DB_ENV->errError message with error string
DB_ENV->errxError message
DB_ENV->openOpen an environment
DB_ENV->removeRemove an environment
DB_ENV->set_allocSet local space allocation functions
DB_ENV->set_cachesizeSet the environment cache size
DB_ENV->set_data_dirSet the environment data directory
DB_ENV->set_errcallSet error message callback
DB_ENV->set_errfileSet error message FILE
DB_ENV->set_errpfxSet error message prefix
DB_ENV->set_feedbackSet feedback callback
DB_ENV->set_flagsEnvironment configuration
DB_ENV->set_mutexlocksTurn off mutual exclusion locking
DB_ENV->set_paniccallSet panic callback
DB_ENV->set_recovery_initSet recovery initialization callback
DB_ENV->set_rpc_serverEstablish an RPC server connection
DB_ENV->set_shm_keySet system memory shared segment ID
DB_ENV->set_tmp_dirSet the environment temporary file directory
DB_ENV->set_verboseSet verbose messages
db_strerrorError strings
db_versionReturn version information
Database OperationsDescription
db_createCreate a database handle
DB->associateAssociate a secondary index
DB->closeClose a database
DB->delDelete items from a database
DB->errError message with error string
DB->errxError message
DB->fdReturn a file descriptor from a database
DB->get, DB->pgetGet items from a database
DB->get_byteswappedReturn if the underlying database is in host order
DB->get_typeReturn the database type
DB->joinPerform a database join on cursors
DB->key_rangeReturn estimate of key location
DB->openOpen a database
DB->putStore items into a database
DB->removeRemove a database
DB->renameRename a database
DB->set_allocSet local space allocation functions
DB->set_append_recnoSet record append callback
DB->set_bt_compareSet a Btree comparison function
DB->set_bt_minkeySet the minimum number of keys per Btree page
DB->set_bt_prefixSet a Btree prefix comparison function
DB->set_cachesizeSet the database cache size
DB->set_dup_compareSet a duplicate comparison function
DB->set_errcallSet error message callback
DB->set_errfileSet error message FILE
DB->set_errpfxSet error message prefix
DB->set_feedbackSet feedback callback
DB->set_flagsGeneral database configuration
DB->set_h_ffactorSet the Hash table density
DB->set_h_hashSet a hashing function
DB->set_h_nelemSet the Hash table size
DB->set_lorderSet the database byte order
DB->set_pagesizeSet the underlying database page size
DB->set_paniccallSet panic callback
DB->set_q_extentsizeSet Queue database extent size
DB->set_re_delimSet the variable-length record delimiter
DB->set_re_lenSet the fixed-length record length
DB->set_re_padSet the fixed-length record pad byte
DB->set_re_sourceSet the backing Recno text file
DB->statReturn database statistics
DB->syncFlush a database to stable storage
DB->truncateEmpty a database
DB->upgradeUpgrade a database
DB->verifyVerify/salvage a database
Database CursorsDescription
DB->cursorOpen a cursor into a database
DBcursor->c_closeClose a cursor
DBcursor->c_countReturn count of duplicates
DBcursor->c_delDelete by cursor
DBcursor->c_dupDuplicate a cursor
DBcursor->c_get, DBcursor->c_pgetRetrieve by cursor
DBcursor->c_putStore by cursor
Lock ManagerDescription
DB_ENV->set_lk_conflictsSet lock conflicts matrix
DB_ENV->set_lk_detectSet automatic deadlock detection
DB_ENV->set_lk_maxSet maximum number of locks (Deprecated)
DB_ENV->set_lk_max_lockersSet maximum number of lockers
DB_ENV->set_lk_max_locksSet maximum number of locks
DB_ENV->set_lk_max_objectsSet maximum number of lock objects
lock_detectPerform deadlock detection
lock_getAcquire a lock
lock_idAcquire a locker ID
lock_putRelease a lock
lock_statReturn lock subsystem statistics
lock_vecAcquire/release locks
Log ManagerDescription
DB_ENV->set_lg_bsizeSet log buffer size
DB_ENV->set_lg_dirSet the environment logging directory
DB_ENV->set_lg_maxSet log file size
DB_ENV->set_lg_regionmaxSet logging region size
log_archiveList log and database files
log_compareCompare two Log Sequence Numbers
log_fileMap Log Sequence Numbers to log files
log_flushFlush log records
log_getGet a log record
log_putWrite a log record
log_registerRegister a filename with the log manager
log_statReturn log subsystem statistics
log_unregisterUnregister a filename with the log manager
Buffer PoolDescription
DB_ENV->set_cachesizeSet the environment cache size
DB_ENV->set_mp_mmapsizeSet maximum mapped-in database file size
memp_fcloseClose a file in a buffer pool
memp_fgetGet a page from a file in a buffer pool
memp_fopenOpen a file in a buffer pool
memp_fputReturn a page to a buffer pool
memp_fsetModify meta information for buffer pool page
memp_fsyncFlush pages from a file in a buffer pool
memp_registerRegister input/output functions for a file in a buffer pool
memp_statReturn buffer pool statistics
memp_syncFlush pages from a buffer pool
memp_trickleTrickle flush pages from a buffer pool
Transaction ManagerDescription
DB_ENV->set_tx_maxSet maximum number of transactions
DB_ENV->set_tx_recoverSet transaction abort recover function
DB_ENV->set_tx_timestampSet recovery timestamp
txn_abortAbort a transaction
txn_beginBegin a transaction
txn_checkpointCheckpoint the transaction subsystem
txn_commitCommit a transaction
txn_discardDiscard a prepared but not resolved transaction handle
txn_idReturn a transaction ID
txn_preparePrepare a transaction for commit
txn_recoverDistributed transaction recovery
txn_statReturn transaction subsystem statistics
Historic InterfacesDescription
dbmUNIX Dbm/Ndbm Interfaces
hsearchUNIX Hsearch Interfaces
Data StructuresDescription
DBTKey/Data Pairs
DB_MULTIPLE_INITBulk Retrieval
DB_LSNDB_LSN structures
DB Library ConfigurationDescription
db_env_set_pageyieldYield the processor on each page access
db_env_set_panicstateReset panic state
db_env_set_region_initFault in shared regions on initial access
db_env_set_tas_spinsSet the number of test-and-set spins
DB System Call ConfigurationDescription
db_env_set_func_closeReplace underlying Berkeley DB system interfaces
db_env_set_func_dirfree
db_env_set_func_dirlist
db_env_set_func_exists
db_env_set_func_free
db_env_set_func_fsync
db_env_set_func_ioinfo
db_env_set_func_malloc
db_env_set_func_map
db_env_set_func_open
db_env_set_func_read
db_env_set_func_realloc
db_env_set_func_rename
db_env_set_func_seek
db_env_set_func_sleep
db_env_set_func_unlink
db_env_set_func_unmap
db_env_set_func_write
db_env_set_func_yield

Copyright Sleepycat Software @ 1.1 log @Initial revision @ text @d1 1 a1 1 @ 1.1.1.1 log @Import: RPM 4.0.3 @ text @@ 1.1.1.2 log @Import: RPM 4.0.4 @ text @d1 1 a1 1 d6 1 a6 1 Berkeley DB: C Interface d11 1 a11 1

C Interface

d13 162 a174 161 SectionMethodDescription Database Environmentdb_env_createCreate an environment handle
DB_ENV->closeClose an environment
DB_ENV->errError message with error string
DB_ENV->errxError message
DB_ENV->openOpen an environment
DB_ENV->removeRemove an environment
DB_ENV->set_allocSet local space allocation functions
DB_ENV->set_data_dirSet the environment data directory
DB_ENV->set_errcallSet error message callback
DB_ENV->set_errfileSet error message FILE
DB_ENV->set_errpfxSet error message prefix
DB_ENV->set_feedbackSet feedback callback
DB_ENV->set_flagsEnvironment configuration
DB_ENV->set_paniccallSet panic callback
DB_ENV->set_recovery_initSet recovery initialization callback
DB_ENV->set_rpc_serverEstablish an RPC server connection
DB_ENV->set_shm_keySet system memory shared segment ID
DB_ENV->set_tas_spinsSet the number of test-and-set spins
DB_ENV->set_tmp_dirSet the environment temporary file directory
DB_ENV->set_timeoutSet lock and transaction timeout
DB_ENV->set_verboseSet verbose messages
db_strerrorError strings
db_versionReturn version information Database Operationsdb_createCreate a database handle
DB->associateAssociate a secondary index
DB->closeClose a database
DB->delDelete items from a database
DB->fdReturn a file descriptor from a database
DB->get, DB->pgetGet items from a database
DB->get_byteswappedReturn if the underlying database is in host order
DB->get_typeReturn the database type
DB->joinPerform a database join on cursors
DB->key_rangeReturn estimate of key location
DB->openOpen a database
DB->putStore items into a database
DB->removeRemove a database
DB->renameRename a database
DB->statReturn database statistics
DB->syncFlush a database to stable storage
DB->truncateEmpty a database
DB->upgradeUpgrade a database
DB->verifyVerify/salvage a database Database ConfigurationDB->errError message with error string
DB->errxError message
DB->set_allocSet local space allocation functions
DB->set_cachesizeSet the database cache size
DB->set_dup_compareSet a duplicate comparison function
DB->set_errcallSet error message callback
DB->set_errfileSet error message FILE
DB->set_errpfxSet error message prefix
DB->set_feedbackSet feedback callback
DB->set_flagsGeneral database configuration
DB->set_pagesizeSet the underlying database page size
DB->set_paniccallSet panic callback Btree/Recno ConfigurationDB->set_append_recnoSet record append callback
DB->set_bt_compareSet a Btree comparison function
DB->set_bt_minkeySet the minimum number of keys per Btree page
DB->set_bt_prefixSet a Btree prefix comparison function
DB->set_re_delimSet the variable-length record delimiter
DB->set_re_lenSet the fixed-length record length
DB->set_re_padSet the fixed-length record pad byte
DB->set_re_sourceSet the backing Recno text file Hash ConfigurationDB->set_h_ffactorSet the Hash table density
DB->set_h_hashSet a hashing function
DB->set_h_nelemSet the Hash table size
DB->set_lorderSet the database byte order Queue ConfigurationDB->set_q_extentsizeSet Queue database extent size Database Cursor OperationsDB->cursorCreate a cursor handle
DBcursor->c_closeClose a cursor
DBcursor->c_countReturn count of duplicates
DBcursor->c_delDelete by cursor
DBcursor->c_dupDuplicate a cursor
DBcursor->c_get, DBcursor->c_pgetRetrieve by cursor
DBcursor->c_putStore by cursor Key/Data PairsDBT
Bulk RetrievalDB_MULTIPLE_INIT
Lock SubsystemDB_ENV->set_lk_conflictsSet lock conflicts matrix
DB_ENV->set_lk_detectSet automatic deadlock detection
DB_ENV->set_lk_max_lockersSet maximum number of lockers
DB_ENV->set_lk_max_locksSet maximum number of locks
DB_ENV->set_lk_max_objectsSet maximum number of lock objects
DB_ENV->lock_detectPerform deadlock detection
DB_ENV->lock_getAcquire a lock
DB_ENV->lock_idAcquire a locker ID
DB_ENV->lock_id_freeRelease a locker ID
DB_ENV->lock_putRelease a lock
DB_ENV->lock_statReturn lock subsystem statistics
DB_ENV->lock_vecAcquire/release locks Log SubsystemDB_ENV->set_lg_bsizeSet log buffer size
DB_ENV->set_lg_dirSet the environment logging directory
DB_ENV->set_lg_maxSet log file size
DB_ENV->set_lg_regionmaxSet logging region size
DB_ENV->log_archiveList log and database files
DB_ENV->log_fileMap Log Sequence Numbers to log files
DB_ENV->log_flushFlush log records
DB_ENV->log_putWrite a log record
DB_ENV->log_registerRegister a filename with the log manager
DB_ENV->log_statReturn log subsystem statistics
DB_ENV->log_unregisterUnregister a filename with the log manager Log Cursor OperationsDB_ENV->log_cursorCreate a log cursor handle
DB_LOGC->closeClose a log cursor
DB_LOGC->getRetrieve a log record Log Sequence NumbersDB_LSN

log_compareCompare two Log Sequence Numbers Memory Pool SubsystemDB_ENV->set_cachesizeSet the environment cache size
DB_ENV->set_mp_mmapsizeSet maximum mapped-in database file size
DB_ENV->memp_registerRegister input/output functions for a file in a memory pool
DB_ENV->memp_statReturn memory pool statistics
DB_ENV->memp_syncFlush pages from a memory pool
DB_ENV->memp_trickleTrickle flush pages from a memory pool Memory Pool FilesDB_ENV->memp_fcreateOpen a file in a memory pool
DB_MPOOLFILE->closeClose a file in a memory pool
DB_MPOOLFILE->getGet page from a file in a memory pool
DB_MPOOLFILE->openOpen a file in a memory pool
DB_MPOOLFILE->putReturn a page to a memory pool
DB_MPOOLFILE->setSet memory pool page status
DB_MPOOLFILE->syncFlush pages from a file in a memory pool
DB_MPOOLFILE->set_clear_lenSet file page bytes to be cleared
DB_MPOOLFILE->set_fileidSet file unique identifier
DB_MPOOLFILE->set_ftypeSet file type
DB_MPOOLFILE->set_lsn_offsetSet file log-sequence-number offset
DB_MPOOLFILE->set_pgcookieSet file cookie for pgin/pgout Transaction SubsystemDB_ENV->set_tx_maxSet maximum number of transactions
DB_ENV->set_tx_recoverSet transaction abort recover function
DB_ENV->set_tx_timestampSet recovery timestamp
DB_ENV->txn_checkpointCheckpoint the transaction subsystem
DB_ENV->txn_recoverDistributed transaction recovery
DB_ENV->txn_statReturn transaction subsystem statistics TransactionsDB_ENV->txn_beginBegin a transaction
DB_TXN->abortAbort a transaction
DB_TXN->commitCommit a transaction
DB_TXN->discardDiscard a prepared but not resolved transaction handle
DB_TXN->idReturn a transaction's ID
DB_TXN->preparePrepare a transaction for commit
DB_TXN->set_timeoutSet transaction timeout ReplicationDB_ENV->set_rep_transportConfigure replication transport
DB_ENV->rep_electHold a replication election
DB_ENV->rep_process_messageProcess a replication message
DB_ENV->rep_startConfigure an environment for replication Historic InterfacesdbmUNIX Dbm/Ndbm Interfaces
hsearchUNIX Hsearch Interfaces System Configurationdb_env_set_func_closeReplace underlying Berkeley DB system interfaces
db_env_set_func_dirfree

db_env_set_func_dirlist

db_env_set_func_exists

db_env_set_func_free

db_env_set_func_fsync

db_env_set_func_ioinfo

db_env_set_func_malloc

db_env_set_func_map

db_env_set_func_open

db_env_set_func_read

db_env_set_func_realloc

db_env_set_func_rename

db_env_set_func_seek

db_env_set_func_sleep

db_env_set_func_unlink

db_env_set_func_unmap

db_env_set_func_write

db_env_set_func_yield
@ 1.1.1.3 log @Import: RPM 4.0.5 @ text @d1 2 a2 2 a3 1 d6 1 a6 1 Berkeley DB: Berkeley DB: C Interface d11 1 a11 1

Berkeley DB: C Interface

a15 2
DB_ENV->dbremoveRemove a database
DB_ENV->dbrenameRename a database a19 3
db_strerrorError strings
db_versionReturn version information Environment ConfigurationDB_ENV->set_app_dispatchConfigure application recovery interface a21 1
DB_ENV->set_encryptSet the environment cryptographic key d28 1 d32 1 a33 1
DB_ENV->set_tmp_dirSet the environment temporary file directory d35 2 a40 2
DB->errError message with error string
DB->errxError message d56 3 a58 2 Database ConfigurationDB->set_allocSet local space allocation functions
DB->set_cache_prioritySet the database cache priority a60 1
DB->set_encryptSet the database cryptographic key a65 1
DB->set_lorderSet the database byte order d79 1 d88 1 a88 1 Key/Data PairsDBT
d110 1 d112 1 d116 1 a116 1 Log Sequence NumbersDB_LSN
d137 1 a150 1
DB_ENV->set_rep_limitLimit data sent in response to a single message a152 1
DB_ENV->rep_statReplication statistics d155 19 a173 1 System ConfigurationRun-time configurationReplace underlying Berkeley DB system interfaces @ 1.1.1.4 log @Import: RPM 4.1 @ text @d1 2 a2 2 d4 1 d7 1 a7 1 Berkeley DB: C Interface d12 1 a12 1

C Interface

d17 2 d23 3 d28 1 a34 1
DB_ENV->set_recovery_initSet recovery initialization callback d38 1 a39 1
DB_ENV->set_timeoutSet lock and transaction timeout a40 2
db_strerrorError strings
db_versionReturn version information d45 2 d62 2 a63 3 Database ConfigurationDB->errError message with error string
DB->errxError message
DB->set_allocSet local space allocation functions d66 1 d72 1 a85 1
DB->set_lorderSet the database byte order d94 1 a94 1 Key/Data PairsDBT
a115 1
DB_ENV->log_registerRegister a filename with the log manager a116 1
DB_ENV->log_unregisterUnregister a filename with the log manager d120 1 a120 1 Log Sequence NumbersDB_LSN
a140 1
DB_ENV->set_tx_recoverSet transaction abort recover function d154 1 d157 1 d160 1 a160 19 System Configurationdb_env_set_func_closeReplace underlying Berkeley DB system interfaces
db_env_set_func_dirfree

db_env_set_func_dirlist

db_env_set_func_exists

db_env_set_func_free

db_env_set_func_fsync

db_env_set_func_ioinfo

db_env_set_func_malloc

db_env_set_func_map

db_env_set_func_open

db_env_set_func_read

db_env_set_func_realloc

db_env_set_func_rename

db_env_set_func_seek

db_env_set_func_sleep

db_env_set_func_unlink

db_env_set_func_unmap

db_env_set_func_write

db_env_set_func_yield
@ 1.1.1.5 log @Import: RPM 4.1.1 @ text @d1 2 a2 2 a3 1 d6 1 a6 1 Berkeley DB: Berkeley DB: C Interface d11 1 a11 1

Berkeley DB: C Interface

a15 2
DB_ENV->dbremoveRemove a database
DB_ENV->dbrenameRename a database a19 3
db_strerrorError strings
db_versionReturn version information Environment ConfigurationDB_ENV->set_app_dispatchConfigure application recovery interface a21 1
DB_ENV->set_encryptSet the environment cryptographic key d28 1 d32 1 a33 1
DB_ENV->set_tmp_dirSet the environment temporary file directory d35 2 a40 2
DB->errError message with error string
DB->errxError message d56 3 a58 2 Database ConfigurationDB->set_allocSet local space allocation functions
DB->set_cache_prioritySet the database cache priority a60 1
DB->set_encryptSet the database cryptographic key a65 1
DB->set_lorderSet the database byte order d79 1 d88 1 a88 1 Key/Data PairsDBT
d110 1 d112 1 d116 1 a116 1 Log Sequence NumbersDB_LSN
d137 1 a150 1
DB_ENV->set_rep_limitLimit data sent in response to a single message a152 1
DB_ENV->rep_statReplication statistics d155 19 a173 1 System ConfigurationRun-time configurationReplace underlying Berkeley DB system interfaces @