#include "system.h"
#include <db3/db.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 |
struct | dbiBStats_s |
Functions | |
int | cvtdberr (dbiIndex dbi, const char *msg, int error, int printit) |
int | db_fini (dbiIndex dbi, const char *dbhome, const char *dbfile, const char *dbsubfile) |
int | db3_fsync_disable (int fd) |
int | db_init (dbiIndex dbi, const char *dbhome, const char *dbfile, const char *dbsubfile, void **dbenvp) |
int | db3sync (dbiIndex dbi, unsigned int flags) |
int | db3c_del (dbiIndex dbi, void *dbcursor, u_int32_t flags) |
int | db3c_dup (dbiIndex dbi, DBC *dbcursor, DBC **dbcp, u_int32_t flags) |
int | db3c_get (dbiIndex dbi, void *dbcursor, void *key, void *data, u_int32_t flags) |
int | db3c_put (dbiIndex dbi, void *dbcursor, void *key, void *data, u_int32_t flags) |
int | db3c_close (dbiIndex dbi, void *dbcursor) |
int | db3c_open (dbiIndex dbi, void **dbcp, int dbiflags) |
int | db3cclose (dbiIndex dbi, void *dbcursor, unsigned int flags) |
int | db3copen (dbiIndex dbi, void **dbcp, unsigned int flags) |
int | db3cput (dbiIndex dbi, void *dbcursor, const void *keyp, size_t keylen, const void *datap, size_t datalen, unsigned int flags) |
int | db3cdel (dbiIndex dbi, void *dbcursor, const void *keyp, size_t keylen, unsigned int flags) |
int | db3cget (dbiIndex dbi, void *dbcursor, void **keyp, size_t *keylen, void **datap, size_t *datalen, unsigned int flags) |
int | db3ccount (dbiIndex dbi, void *dbcursor, unsigned int *countp, unsigned int flags) |
int | db3byteswapped (dbiIndex dbi) |
int | db3stat (dbiIndex dbi, unsigned int flags) |
int | db3close (dbiIndex dbi, unsigned int flags) |
int | db3open (rpmdb rpmdb, int rpmtag, dbiIndex *dbip) |
Variables | |
int | _debug = 1 |
_dbiVec | db3vec |
Definition in file db3.c.
|
Definition at line 89 of file db3.c. References _, _dbiIndex::dbi_api, dbiIndex, RPMERR_DBERR, and rpmError. Referenced by db1cdel(), db1cget(), db1close(), db1cput(), db1sync(), db3c_close(), db3c_del(), db3c_dup(), db3c_get(), db3c_open(), db3c_put(), db3ccount(), db3cdel(), db3cget(), db3close(), db3cput(), db3open(), db3stat(), db3sync(), db_fini(), and db_init(). |
|
Definition at line 154 of file db3.c. Referenced by db_init(). |
|
Definition at line 611 of file db3.c. References DB, _dbiIndex::dbi_db, and dbiIndex. |
|
Definition at line 381 of file db3.c. References _debug, cvtdberr(), and dbiIndex. Referenced by db3cclose(). |
|
Definition at line 318 of file db3.c. References _debug, cvtdberr(), and dbiIndex. Referenced by db3cdel(). |
|
Definition at line 329 of file db3.c. References _debug, cvtdberr(), and dbiIndex. |
|
Definition at line 344 of file db3.c. References _debug, cvtdberr(), _dbiIndex::dbi_eflags, _dbiIndex::dbi_oflags, and dbiIndex. |
|
Definition at line 394 of file db3.c. References _debug, cvtdberr(), DB, _dbiIndex::dbi_db, _dbiIndex::dbi_eflags, _dbiIndex::dbi_oflags, DBI_WRITECURSOR, and dbiIndex. Referenced by db3copen(). |
|
Definition at line 368 of file db3.c. References _debug, cvtdberr(), and dbiIndex. Referenced by db3cput(). |
|
Definition at line 418 of file db3.c. References db3c_close(), DBI_ITERATOR, _dbiIndex::dbi_rmw, _dbiIndex::dbi_use_cursors, and dbiIndex. Referenced by db3close(). |
|
Definition at line 593 of file db3.c. References _debug, cvtdberr(), and dbiIndex. |
|
Definition at line 506 of file db3.c. References _debug, cvtdberr(), DB, db3c_del(), db3c_get(), _dbiIndex::dbi_db, dbiIndex, and DBT. |
|
Definition at line 541 of file db3.c. References _debug, cvtdberr(), DB, db3c_get(), _dbiIndex::dbi_db, dbiIndex, and DBT. |
|
|
Definition at line 446 of file db3.c. References db3c_open(), DBC, DBI_ITERATOR, _dbiIndex::dbi_rmw, _dbiIndex::dbi_use_cursors, and dbiIndex. |
|
Definition at line 474 of file db3.c. References _debug, cvtdberr(), DB, db3c_put(), _dbiIndex::dbi_db, dbiIndex, and DBT. |
|
|
Definition at line 631 of file db3.c. References _debug, _free(), cvtdberr(), DB, _dbiIndex::dbi_db, _dbiIndex::dbi_stats, and dbiIndex. |
|
Definition at line 302 of file db3.c. References _debug, cvtdberr(), DB, _dbiIndex::dbi_db, and dbiIndex. |
|
Definition at line 112 of file db3.c. References _, _debug, cvtdberr(), rpmdb_s::db_dbenv, DB_ENV, rpmdb_s::db_remove_env, _dbiIndex::dbi_rpmdb, _dbiIndex::dbi_tear_down, dbiIndex, rpmdb, RPMMESS_DEBUG, and rpmMessage. Referenced by db3close(). |
|
|
Definition at line 7 of file db3.c. Referenced by db3c_close(), db3c_del(), db3c_dup(), db3c_get(), db3c_open(), db3c_put(), db3ccount(), db3cdel(), db3cget(), db3close(), db3cput(), db3open(), db3stat(), db3sync(), db_fini(), and db_init(). |