rpmdb_s Struct Reference
[Database API.]

Describes the collection of index databases used by rpm. More...

#include <rpmdb.h>

Data Fields

const char * db_root
const char * db_home
int db_flags
int db_mode
int db_perms
int db_api
const char * db_errpfx
int db_remove_env
int db_filter_dups
int db_chrootDone
void(* db_errcall )(const char *db_errpfx, char *buffer)
FILE * db_errfile
void *(* db_malloc )(size_t nbytes)
void *(* db_realloc )(void *ptr, size_t nbytes)
void(* db_free )(void *ptr)
unsigned char * db_bits
int db_nbits
rpmdb db_next
int db_opens
void * db_dbenv
int db_ndbi
dbiIndex_dbi
struct rpmop_s db_getops
struct rpmop_s db_putops
struct rpmop_s db_delops
int nrefs

Detailed Description

Describes the collection of index databases used by rpm.

Definition at line 396 of file rpmdb.h.


Field Documentation

Tag indices.

Definition at line 431 of file rpmdb.h.

Referenced by dbiOpen(), newRpmdb(), rpmdbClose(), rpmdbCloseDBI(), rpmdbOpenAll(), rpmdbSync(), and rpmdbVerify().

Berkeley API type

Definition at line 404 of file rpmdb.h.

Referenced by dbiOpen(), openDatabase(), and rpmdbRebuild().

unsigned char* rpmdb_s::db_bits

package instance bit mask.

Definition at line 424 of file rpmdb.h.

Referenced by dbiOpen(), rpmdbClose(), and rpmdbNextIterator().

If chroot(2) done, ignore db_root.

Definition at line 409 of file rpmdb.h.

Referenced by db3close(), db3open(), db_init(), and rpmtsSetChrootDone().

Berkeley DB_ENV handle.

Definition at line 429 of file rpmdb.h.

Referenced by db3close(), db3open(), and db_fini().

struct rpmop_s rpmdb_s::db_delops [read]

Definition at line 435 of file rpmdb.h.

Referenced by dbiDel(), rpmtsCloseDB(), and rpmtsCloseSDB().

void(* rpmdb_s::db_errcall)(const char *db_errpfx, char *buffer)

Referenced by db3close(), and db_init().

Definition at line 413 of file rpmdb.h.

Referenced by db3close(), and db_init().

const char* rpmdb_s::db_errpfx

Definition at line 406 of file rpmdb.h.

Referenced by db3close(), db_init(), newRpmdb(), and rpmdbClose().

Definition at line 408 of file rpmdb.h.

Referenced by newRpmdb(), and rpmdbRebuild().

Definition at line 401 of file rpmdb.h.

Referenced by newRpmdb(), and rpmdbOpenAll().

void(* rpmdb_s::db_free)(void *ptr)

Referenced by db3open().

struct rpmop_s rpmdb_s::db_getops [read]

Definition at line 433 of file rpmdb.h.

Referenced by dbiGet(), dbiPget(), rpmtsCloseDB(), and rpmtsCloseSDB().

const char* rpmdb_s::db_home

directory path

Definition at line 400 of file rpmdb.h.

Referenced by db3close(), db3open(), newRpmdb(), and rpmdbClose().

void*(* rpmdb_s::db_malloc)(size_t nbytes)

Referenced by db3open().

open mode

Definition at line 402 of file rpmdb.h.

Referenced by newRpmdb().

no. of bits in mask.

Definition at line 425 of file rpmdb.h.

Referenced by dbiOpen(), and rpmdbNextIterator().

No. of tag indices.

Definition at line 430 of file rpmdb.h.

Referenced by newRpmdb(), rpmdbClose(), rpmdbSync(), and rpmdbVerify().

Definition at line 426 of file rpmdb.h.

Referenced by openDatabase(), rpmdbCheckTerminate(), and rpmdbClose().

Definition at line 427 of file rpmdb.h.

Referenced by db3close(), and db3open().

open permissions

Definition at line 403 of file rpmdb.h.

Referenced by newRpmdb().

struct rpmop_s rpmdb_s::db_putops [read]

Definition at line 434 of file rpmdb.h.

Referenced by dbiPut(), rpmtsCloseDB(), and rpmtsCloseSDB().

void*(* rpmdb_s::db_realloc)(void *ptr, size_t nbytes)

Referenced by db3open().

Definition at line 407 of file rpmdb.h.

Referenced by db_fini(), and newRpmdb().

const char* rpmdb_s::db_root

path prefix

Definition at line 398 of file rpmdb.h.

Referenced by db3close(), db3open(), db_init(), newRpmdb(), and rpmdbClose().

Reference count.

Definition at line 438 of file rpmdb.h.

Referenced by newRpmdb(), rpmdbClose(), XrpmdbLink(), and XrpmdbUnlink().


The documentation for this struct was generated from the following file:

Generated on 31 Jul 2012 for rpm by  doxygen 1.6.1