Files | |
file | db3.c |
file | rpmdb.h |
Access RPM indices using Berkeley DB interface(s). | |
Functions | |
dbiIndex | db3New (rpmdb rpmdb, rpmTag rpmtag) |
Return new configured index database handle instance. | |
dbiIndex | db3Free (dbiIndex dbi) |
Destroy index database handle instance. | |
const char *const | prDbiOpenFlags (int dbflags, int print_dbenv_flags) |
Format db3 open flags for debugging print. | |
Variables | |
struct _dbiVec | db3vec |
struct poptOption | rdbOptions [] |
Destroy index database handle instance.
dbi | index database handle |
Definition at line 254 of file dbconfig.c.
References _free(), _dbiIndex::dbi_errpfx, _dbiIndex::dbi_file, _dbiIndex::dbi_home, _dbiIndex::dbi_host, _dbiIndex::dbi_re_source, _dbiIndex::dbi_root, _dbiIndex::dbi_stats, _dbiIndex::dbi_subfile, and _dbiIndex::dbi_tmpdir.
Referenced by db3close(), and dbiOpen().
Return new configured index database handle instance.
rpmdb | rpm database | |
rpmtag | rpm tag |
Definition at line 277 of file dbconfig.c.
References _, _free(), db3_config_default, db3dbi, rpmdb_s::db_mode, _dbiIndex::dbi_bt_flags, _dbiIndex::dbi_byteswapped, _dbiIndex::dbi_cachesize, _dbiIndex::dbi_eflags, _dbiIndex::dbi_h_flags, _dbiIndex::dbi_jlen, _dbiIndex::dbi_mmapsize, _dbiIndex::dbi_mode, _dbiIndex::dbi_permit_dups, _dbiIndex::dbi_perms, _dbiIndex::dbi_rpmdb, _dbiIndex::dbi_rpmtag, _dbiIndex::dbi_use_dbenv, rdbOptions, RPMDBI_DEPENDS, RPMDBI_PACKAGES, RPMERR_DBCONFIG, rpmError, rpmExpand(), tagName(), xcalloc(), xisspace(), xstrdup(), and xstrncasecmp().
Referenced by db3open().
const char* const prDbiOpenFlags | ( | int | dbflags, | |
int | print_dbenv_flags | |||
) |
Format db3 open flags for debugging print.
dbflags | db open flags | |
print_dbenv_flags | format db env flags instead? |
Definition at line 461 of file dbconfig.c.
References db3dbi, _dbiIndex::dbi_eflags, _dbiIndex::dbi_oeflags, _dbiIndex::dbi_oflags, rdbOptions, and stpcpy().
struct poptOption rdbOptions[] |