Files | |
file | db3.c |
file | rpmdb.h |
Access RPM indices using Berkeley DB interface(s). | |
Functions | |
dbiIndex | db3New (rpmdb rpmdb, rpmTag rpmtag) |
dbiIndex | db3Free (dbiIndex dbi) |
const char *const | prDbiOpenFlags (int dbflags, int print_dbenv_flags) |
Variables | |
_dbiVec | db3vec |
poptOption | rdbOptions [] |
_dbiVec | db3vec |
|
Destroy index database handle instance.
Definition at line 252 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, _dbiIndex::dbi_tmpdir, and dbiIndex. Referenced by db3close(), and dbiOpen(). |
|
Return new configured index database handle instance.
Definition at line 275 of file dbconfig.c. References _, _free(), db3_config_default, db3dbi, rpmdb_s::db_mode, dbiIndex, int_32, poptOption::longName, POPT_ARG_INT, POPT_ARG_LONG, POPT_ARG_MASK, POPT_ARG_NONE, POPT_ARG_STRING, POPT_ARG_VAL, POPT_BIT_CLR, POPT_BIT_SET, poptSaveInt(), poptSaveLong(), rdbOptions, rpmdb, RPMDBI_DEPENDS, RPMDBI_PACKAGES, RPMERR_DBCONFIG, rpmError, rpmExpand(), rpmTag, tagName(), xcalloc(), xisspace(), xstrdup(), and xstrncasecmp(). Referenced by db3open(). |
|
Format db3 open flags for debugging print.
Definition at line 459 of file dbconfig.c. References db3dbi, _dbiIndex::dbi_eflags, _dbiIndex::dbi_oeflags, _dbiIndex::dbi_oflags, poptOption::longName, POPT_BIT_SET, rdbOptions, and stpcpy(). |
|
Definition at line 232 of file rpmdb.c. Referenced by db3open(). |
|
Initial value: { DB_VERSION_MAJOR, DB_VERSION_MINOR, DB_VERSION_PATCH, db3open, db3close, db3sync, db3associate, db3join, db3copen, db3cclose, db3cdup, db3cdel, db3cget, db3cpget, db3cput, db3ccount, db3byteswapped, db3stat } Definition at line 1366 of file db3.c. Referenced by db3open(). |
|
Definition at line 35 of file dbconfig.c. Referenced by db3New(), and prDbiOpenFlags(). |