_dbiIndex Struct Reference
[DataBase Index Element API.]

Describes an index database (implemented on Berkeley db3 functionality). More...

#include <rpmdb.h>


Data Fields

const char * dbi_root
const char * dbi_home
const char * dbi_file
const char * dbi_subfile
const char * dbi_tmpdir
int dbi_ecflags
int dbi_cflags
int dbi_oeflags
int dbi_eflags
int dbi_oflags
int dbi_tflags
int dbi_type
unsigned dbi_mode
int dbi_perms
long dbi_shmkey
int dbi_api
int dbi_verify_on_close
int dbi_use_dbenv
int dbi_permit_dups
int dbi_no_fsync
int dbi_no_dbsync
int dbi_lockdbfd
int dbi_temporary
int dbi_debug
int dbi_byteswapped
char * dbi_host
unsigned long dbi_cl_timeout
unsigned long dbi_sv_timeout
int dbi_lorder
void(* db_errcall )(void *dbenv, const char *db_errpfx, char *buffer)
FILE * dbi_errfile
const char * dbi_errpfx
int dbi_verbose
int dbi_region_init
int dbi_tas_spins
int dbi_mmapsize
int dbi_cachesize
unsigned int dbi_lk_max
unsigned int dbi_lk_detect
int dbi_lk_nmodes
unsigned char * dbi_lk_conflicts
unsigned int dbi_lg_max
unsigned int dbi_lg_bsize
unsigned int dbi_tx_max
int dbi_pagesize
void *(* dbi_malloc )(size_t nbytes)
unsigned int dbi_h_ffactor
unsigned int(* dbi_h_hash_fcn )(DB *, const void *bytes, unsigned int length)
unsigned int dbi_h_nelem
unsigned int dbi_h_flags
int(* dbi_h_dup_compare_fcn )(DB *, const DBT *, const DBT *)
int dbi_bt_flags
int dbi_bt_minkey
int(* dbi_bt_compare_fcn )(DB *, const DBT *, const DBT *)
int(* dbi_bt_dup_compare_fcn )(DB *, const DBT *, const DBT *)
size_t(* dbi_bt_prefix_fcn )(DB *, const DBT *, const DBT *)
int dbi_re_flags
int dbi_re_delim
unsigned int dbi_re_len
int dbi_re_pad
const char * dbi_re_source
unsigned int dbi_q_extentsize
rpmdb dbi_rpmdb
rpmTag dbi_rpmtag
int dbi_jlen
DB * dbi_db
DB_TXN * dbi_txnid
void * dbi_stats
struct _dbiVecdbi_vec


Detailed Description

Describes an index database (implemented on Berkeley db3 functionality).

Definition at line 271 of file rpmdb.h.


Field Documentation

const char* _dbiIndex::dbi_root

chroot(2) component of path

Definition at line 273 of file rpmdb.h.

Referenced by db3close(), db3Free(), db3open(), and db_init().

const char* _dbiIndex::dbi_home

directory component of path

Definition at line 275 of file rpmdb.h.

Referenced by db3close(), db3Free(), and db3open().

const char* _dbiIndex::dbi_file

file component of path

Definition at line 277 of file rpmdb.h.

Referenced by db3close(), db3Free(), and db3open().

Definition at line 279 of file rpmdb.h.

Referenced by db3close(), db3Free(), and db3open().

const char* _dbiIndex::dbi_tmpdir

temporary directory

Definition at line 281 of file rpmdb.h.

Referenced by db3close(), db3Free(), and db_init().

db_env_create flags

Definition at line 283 of file rpmdb.h.

Referenced by db3open(), and db_init().

db_create flags

Definition at line 284 of file rpmdb.h.

Referenced by db3open().

common (db,dbenv}->open flags

Definition at line 285 of file rpmdb.h.

Referenced by db3open(), db_init(), and prDbiOpenFlags().

dbenv->open flags

Definition at line 286 of file rpmdb.h.

Referenced by db3copen(), db3New(), db3open(), db_init(), and prDbiOpenFlags().

db->open flags

Definition at line 287 of file rpmdb.h.

Referenced by db3copen(), db3open(), and prDbiOpenFlags().

dbenv->txn_begin flags

Definition at line 288 of file rpmdb.h.

db index type

Definition at line 290 of file rpmdb.h.

Referenced by db3open().

mode to use on open

Definition at line 291 of file rpmdb.h.

Referenced by db3New(), and db3open().

file permission to use on open

Definition at line 292 of file rpmdb.h.

Referenced by db3New(), db3open(), and db_init().

shared memory base key

Definition at line 293 of file rpmdb.h.

Referenced by db_init().

Berkeley API type

Definition at line 294 of file rpmdb.h.

Referenced by cvtdberr(), and db3open().

Definition at line 296 of file rpmdb.h.

Referenced by db3close(), db3open(), and dbiVerify().

use db environment?

Definition at line 297 of file rpmdb.h.

Referenced by db3close(), db3New(), and db3open().

permit duplicate entries?

Definition at line 298 of file rpmdb.h.

Referenced by db3New(), and rpmdbAdd().

no-op fsync for db

Definition at line 299 of file rpmdb.h.

Referenced by db_init().

don't call dbiSync

Definition at line 300 of file rpmdb.h.

Referenced by rpmdbAdd(), rpmdbRemove(), and rpmdbSync().

do fcntl lock on db fd

Definition at line 301 of file rpmdb.h.

Referenced by db3open().

non-persistent

Definition at line 302 of file rpmdb.h.

Referenced by db3close(), and db3open().

Definition at line 303 of file rpmdb.h.

Definition at line 304 of file rpmdb.h.

Referenced by db3New(), and dbiByteSwapped().

Definition at line 307 of file rpmdb.h.

Referenced by db3Free(), db3open(), and db_init().

Definition at line 308 of file rpmdb.h.

Referenced by db_init().

Definition at line 309 of file rpmdb.h.

Referenced by db_init().

Definition at line 312 of file rpmdb.h.

Referenced by db3open().

void(* _dbiIndex::db_errcall)(void *dbenv, const char *db_errpfx, char *buffer)

Definition at line 319 of file rpmdb.h.

const char* _dbiIndex::dbi_errpfx

Definition at line 320 of file rpmdb.h.

Referenced by db3Free().

Definition at line 321 of file rpmdb.h.

Referenced by db3close(), and db_init().

Definition at line 322 of file rpmdb.h.

Definition at line 323 of file rpmdb.h.

(10Mb)

Definition at line 325 of file rpmdb.h.

Referenced by db3New(), and db_init().

(128Kb)

Definition at line 326 of file rpmdb.h.

Referenced by db3New(), db3open(), and db_init().

unsigned int _dbiIndex::dbi_lk_max

Definition at line 328 of file rpmdb.h.

Definition at line 329 of file rpmdb.h.

Definition at line 330 of file rpmdb.h.

Definition at line 331 of file rpmdb.h.

unsigned int _dbiIndex::dbi_lg_max

Definition at line 333 of file rpmdb.h.

Definition at line 334 of file rpmdb.h.

unsigned int _dbiIndex::dbi_tx_max

Definition at line 336 of file rpmdb.h.

(fs blksize)

Definition at line 344 of file rpmdb.h.

Referenced by db3open().

void*(* _dbiIndex::dbi_malloc)(size_t nbytes)

Definition at line 349 of file rpmdb.h.

Referenced by db3open().

unsigned int(* _dbiIndex::dbi_h_hash_fcn)(DB *, const void *bytes, unsigned int length)

Referenced by db3open().

unsigned int _dbiIndex::dbi_h_nelem

Definition at line 353 of file rpmdb.h.

Referenced by db3open().

unsigned int _dbiIndex::dbi_h_flags

DB_DUP, DB_DUPSORT

Definition at line 354 of file rpmdb.h.

Referenced by db3New(), and db3open().

int(* _dbiIndex::dbi_h_dup_compare_fcn)(DB *, const DBT *, const DBT *)

Referenced by db3open().

Definition at line 358 of file rpmdb.h.

Referenced by db3New(), and db3open().

Definition at line 359 of file rpmdb.h.

Referenced by db3open().

int(* _dbiIndex::dbi_bt_compare_fcn)(DB *, const DBT *, const DBT *)

Referenced by db3open().

int(* _dbiIndex::dbi_bt_dup_compare_fcn)(DB *, const DBT *, const DBT *)

Referenced by db3open().

size_t(* _dbiIndex::dbi_bt_prefix_fcn)(DB *, const DBT *, const DBT *)

Referenced by db3open().

Definition at line 367 of file rpmdb.h.

Definition at line 368 of file rpmdb.h.

Referenced by db3open().

unsigned int _dbiIndex::dbi_re_len

Definition at line 369 of file rpmdb.h.

Referenced by db3open().

Definition at line 370 of file rpmdb.h.

Referenced by db3open().

Definition at line 371 of file rpmdb.h.

Referenced by db3Free(), and db3open().

Definition at line 373 of file rpmdb.h.

Referenced by db3open().

the parent rpm database

Definition at line 376 of file rpmdb.h.

Referenced by db3close(), db3New(), db_fini(), db_init(), dbiDel(), dbiFindMatches(), dbiGet(), dbiPget(), dbiPut(), and miFreeHeader().

size of join key

Definition at line 378 of file rpmdb.h.

Referenced by db3New(), dbt2set(), and set2dbt().

Berkeley DB * handle

Definition at line 381 of file rpmdb.h.

Referenced by db3associate(), db3byteswapped(), db3cdel(), db3cget(), db3close(), db3copen(), db3cpget(), db3cput(), db3join(), db3open(), db3stat(), and db3sync().

Berkeley db statistics

Definition at line 385 of file rpmdb.h.

Referenced by db3Free(), db3stat(), and dbiOpen().

struct _dbiVec* _dbiIndex::dbi_vec [read]


The documentation for this struct was generated from the following file:

Generated on Fri Dec 12 13:02:13 2008 for rpm by  doxygen 1.5.6