Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

rpmdb_s Struct Reference
[RPM database API.]

#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
rpmop_s db_getops
rpmop_s db_putops
rpmop_s db_delops
int nrefs


Detailed Description

Describes the collection of index databases used by rpm.

Definition at line 395 of file rpmdb.h.


Field Documentation

dbiIndex* rpmdb_s::_dbi
 

Tag indices.

Definition at line 430 of file rpmdb.h.

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

int rpmdb_s::db_api
 

Berkeley API type

Definition at line 403 of file rpmdb.h.

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

unsigned char* rpmdb_s::db_bits
 

package instance bit mask.

Definition at line 423 of file rpmdb.h.

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

int rpmdb_s::db_chrootDone
 

If chroot(2) done, ignore db_root.

Definition at line 408 of file rpmdb.h.

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

void* rpmdb_s::db_dbenv
 

Berkeley DB_ENV handle.

Definition at line 428 of file rpmdb.h.

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

struct rpmop_s rpmdb_s::db_delops
 

Definition at line 434 of file rpmdb.h.

Referenced by dbiDel().

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

Referenced by db3close(), and db_init().

FILE* rpmdb_s::db_errfile
 

Definition at line 412 of file rpmdb.h.

Referenced by db3close(), and db_init().

const char* rpmdb_s::db_errpfx
 

Definition at line 405 of file rpmdb.h.

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

int rpmdb_s::db_filter_dups
 

Definition at line 407 of file rpmdb.h.

Referenced by rpmdbRebuild().

int rpmdb_s::db_flags
 

Definition at line 400 of file rpmdb.h.

Referenced by rpmdbOpenAll().

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

Referenced by db3open().

struct rpmop_s rpmdb_s::db_getops
 

Definition at line 432 of file rpmdb.h.

Referenced by dbiGet(), and dbiPget().

const char* rpmdb_s::db_home
 

directory path

Definition at line 399 of file rpmdb.h.

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

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

Referenced by db3open().

int rpmdb_s::db_mode
 

open mode

Definition at line 401 of file rpmdb.h.

Referenced by db3New().

int rpmdb_s::db_nbits
 

no. of bits in mask.

Definition at line 424 of file rpmdb.h.

Referenced by dbiOpen(), and rpmdbNextIterator().

int rpmdb_s::db_ndbi
 

No. of tag indices.

Definition at line 429 of file rpmdb.h.

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

rpmdb rpmdb_s::db_next
 

Definition at line 425 of file rpmdb.h.

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

int rpmdb_s::db_opens
 

Definition at line 426 of file rpmdb.h.

Referenced by db3close(), and db3open().

int rpmdb_s::db_perms
 

open permissions

Definition at line 402 of file rpmdb.h.

struct rpmop_s rpmdb_s::db_putops
 

Definition at line 433 of file rpmdb.h.

Referenced by dbiPut().

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

Referenced by db3open().

int rpmdb_s::db_remove_env
 

Definition at line 406 of file rpmdb.h.

Referenced by db_fini().

const char* rpmdb_s::db_root
 

path prefix

Definition at line 397 of file rpmdb.h.

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

int rpmdb_s::nrefs
 

Reference count.

Definition at line 437 of file rpmdb.h.

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


The documentation for this struct was generated from the following file:
Generated on Mon Jun 13 13:40:11 2005 for rpm by  doxygen 1.3.9.1