#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 | dbiBStats_s |
struct | dbiHStats_s |
Functions | |
int | cvtdberr (dbiIndex dbi, char *msg, int error, int printit) |
int | db_fini (dbiIndex dbi, char *dbhome, char *dbfile, char *dbsubfile) |
int | db3_fsync_disable (int fd) |
int | db_init (dbiIndex dbi, char *dbhome, char *dbfile, char *dbsubfile, DB_ENV **dbenvp) |
int | db3sync (dbiIndex dbi, unsigned int flags) |
int | db3c_del (dbiIndex dbi, DBC *dbcursor, u_int32_t flags) |
int | db3c_dup (dbiIndex dbi, DBC *dbcursor, DBC **dbcp, u_int32_t flags) |
int | db3c_get (dbiIndex dbi, DBC *dbcursor, DBT *key, DBT *data, u_int32_t flags) |
int | db3c_put (dbiIndex dbi, DBC *dbcursor, DBT *key, DBT *data, u_int32_t flags) |
int | db3c_close (dbiIndex dbi, DBC *dbcursor) |
int | db3c_open (dbiIndex dbi, DBC **dbcp, int dbiflags) |
int | db3cclose (dbiIndex dbi, DBC *dbcursor, unsigned int flags) |
int | db3copen (dbiIndex dbi, DBC **dbcp, unsigned int flags) |
int | db3cput (dbiIndex dbi, DBC *dbcursor, void *keyp, size_t keylen, void *datap, size_t datalen, unsigned int flags) |
int | db3cdel (dbiIndex dbi, DBC *dbcursor, void *keyp, size_t keylen, unsigned int flags) |
int | db3cget (dbiIndex dbi, DBC *dbcursor, void **keyp, size_t *keylen, void **datap, size_t *datalen, unsigned int flags) |
int | db3ccount (dbiIndex dbi, DBC *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 _. 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. |
|
Definition at line 381 of file db3.c. References _debug, cvtdberr, and DBC. Referenced by db3cclose. |
|
Definition at line 318 of file db3.c. References _debug, cvtdberr, and DBC. Referenced by db3cdel. |
|
|
|
Definition at line 344 of file db3.c. |
|
Definition at line 394 of file db3.c. References _debug, cvtdberr, DB, DBC, and DBI_WRITECURSOR. Referenced by db3copen. |
|
Definition at line 368 of file db3.c. References _debug, cvtdberr, and DBC. Referenced by db3cput. |
|
Definition at line 418 of file db3.c. References db3c_close, DBC, and DBI_ITERATOR. Referenced by db3close. |
|
|
|
Definition at line 506 of file db3.c. References _debug, cvtdberr, DB, db3c_del, db3c_get, and DBC. |
|
|
|
Definition at line 657 of file db3.c. References _, _debug, _free, cvtdberr, DB, db3cclose, db3Free, rpmdb_s::db_chrootDone, rpmdb_s::db_dbenv, DB_ENV, rpmdb_s::db_errcall, rpmdb_s::db_errfile, rpmdb_s::db_errpfx, db_fini, rpmdb_s::db_home, rpmdb_s::db_opens, rpmdb_s::db_root, rpmGenPath, rpmGetPath, tagName, and urlPath. Referenced by db3open. |
|
Definition at line 446 of file db3.c. References db3c_open, DBC, and DBI_ITERATOR. |
|
|
|
|
|
|
|
|
Definition at line 112 of file db3.c. References _, _debug, cvtdberr, rpmdb_s::db_dbenv, DB_ENV, and rpmdb_s::db_remove_env. Referenced by db3close. |
|
Definition at line 161 of file db3.c. References _, _debug, _free, cvtdberr, db3_fsync_disable, rpmdb_s::db_chrootDone, DB_ENV, rpmdb_s::db_errcall, rpmdb_s::db_errfile, rpmdb_s::db_errpfx, rpmdb_s::db_root, prDbiOpenFlags, and rpmGenPath. Referenced by db3open. |
|
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. |