#include "system.h"
#include <rpmlib.h>
#include <rpmmacro.h>
#include <rpmurl.h>
#include <rpmdb.h>
#include "debug.h"
Go to the source code of this file.
Data Structures | |
struct | dbiHStats_s |
Hash database statistics. More... | |
struct | dbiBStats_s |
B-tree database statistics. More... | |
Defines | |
#define | DB_CLIENT DB_RPCCLIENT |
Functions | |
static int | cvtdberr (dbiIndex dbi, const char *msg, int error, int printit) |
static int | db_fini (dbiIndex dbi, const char *dbhome, const char *dbfile, const char *dbsubfile) |
static int | db3_fsync_disable (int fd) |
static int | db_init (dbiIndex dbi, const char *dbhome, const char *dbfile, const char *dbsubfile, DB_ENV **dbenvp) |
static int | db3sync (dbiIndex dbi, unsigned int flags) |
static int | db3cdup (dbiIndex dbi, DBC *dbcursor, DBC **dbcp, unsigned int flags) |
static int | db3cclose (dbiIndex dbi, DBC *dbcursor, unsigned int flags) |
static int | db3copen (dbiIndex dbi, DB_TXN *txnid, DBC **dbcp, unsigned int dbiflags) |
static int | db3cput (dbiIndex dbi, DBC *dbcursor, DBT *key, DBT *data, unsigned int flags) |
static int | db3cdel (dbiIndex dbi, DBC *dbcursor, DBT *key, DBT *data, unsigned int flags) |
static int | db3cget (dbiIndex dbi, DBC *dbcursor, DBT *key, DBT *data, unsigned int flags) |
static int | db3cpget (dbiIndex dbi, DBC *dbcursor, DBT *key, DBT *pkey, DBT *data, unsigned int flags) |
static int | db3ccount (dbiIndex dbi, DBC *dbcursor, unsigned int *countp, unsigned int flags) |
static int | db3byteswapped (dbiIndex dbi) |
static int | db3stat (dbiIndex dbi, unsigned int flags) |
static int | db3associate (dbiIndex dbi, dbiIndex dbisecondary, int(*callback)(DB *, const DBT *, const DBT *, DBT *), unsigned int flags) |
static int | db3join (dbiIndex dbi, DBC **curslist, DBC **dbcp, unsigned int flags) |
static int | db3close (dbiIndex dbi, unsigned int flags) |
static int | db3open (rpmdb rpmdb, rpmTag rpmtag, dbiIndex *dbip) |
Variables | |
static int | _debug = 1 |
_dbiVec | db3vec |
Definition in file db3.c.
|
|
|
Definition at line 151 of file db3.c. References _, _dbiIndex::dbi_api, RPMERR_DBERR, and rpmError. Referenced by db3associate(), db3cclose(), db3ccount(), db3cdel(), db3cdup(), db3cget(), db3close(), db3copen(), db3cpget(), db3cput(), db3join(), db3open(), db3stat(), db3sync(), db_fini(), and db_init(). |
|
Definition at line 214 of file db3.c. Referenced by db_init(). |
|
Definition at line 718 of file db3.c. References _debug, cvtdberr(), db, and _dbiIndex::dbi_db. |
|
Definition at line 665 of file db3.c. References db, and _dbiIndex::dbi_db. |
|
Definition at line 495 of file db3.c. References _debug, and cvtdberr(). Referenced by db3copen(). |
|
Definition at line 645 of file db3.c. References _debug, and cvtdberr(). |
|
Definition at line 562 of file db3.c. References _debug, cvtdberr(), db, DB_NOTFOUND, DB_SET, _dbiIndex::dbi_db, and _dbiIndex::dbi_txnid. |
|
Definition at line 477 of file db3.c. References _debug, and cvtdberr(). |
|
Definition at line 594 of file db3.c. References _debug, cvtdberr(), db, DB_NOTFOUND, _dbiIndex::dbi_db, and _dbiIndex::dbi_txnid. |
|
|
Definition at line 511 of file db3.c. References _debug, cvtdberr(), db, db3cclose(), DB_WRITECURSOR, _dbiIndex::dbi_db, _dbiIndex::dbi_eflags, _dbiIndex::dbi_oflags, and flags. |
|
Definition at line 623 of file db3.c. References _debug, cvtdberr(), db, DB_NOTFOUND, and _dbiIndex::dbi_db. |
|
Definition at line 541 of file db3.c. References _debug, cvtdberr(), db, DB_KEYLAST, _dbiIndex::dbi_db, and _dbiIndex::dbi_txnid. |
|
Definition at line 745 of file db3.c. References _debug, cvtdberr(), db, and _dbiIndex::dbi_db. |
|
|
Definition at line 685 of file db3.c. References _debug, _free(), cvtdberr(), db, DB_FAST_STAT, _dbiIndex::dbi_db, and _dbiIndex::dbi_stats. |
|
Definition at line 457 of file db3.c. References _debug, cvtdberr(), db, and _dbiIndex::dbi_db. |
|
Definition at line 172 of file db3.c. References _, _debug, cvtdberr(), rpmdb_s::db_dbenv, rpmdb_s::db_remove_env, _dbiIndex::dbi_rpmdb, RPMMESS_DEBUG, and rpmMessage. Referenced by db3close(). |
|
|
|