_dbiVec Struct Reference
[DataBase Index Element API.]

Private methods for accessing an index database. More...

#include <rpmdb.h>


Data Fields

int dbv_major
int dbv_minor
int dbv_patch
int(* open )(rpmdb rpmdb, rpmTag rpmtag, dbiIndex *dbip)
 Return handle for an index database.
int(* close )(dbiIndex dbi, unsigned int flags)
 Close index database, and destroy database handle.
int(* sync )(dbiIndex dbi, unsigned int flags)
 Flush pending operations to disk.
int(* associate )(dbiIndex dbi, dbiIndex dbisecondary, int(*callback)(DB *, const DBT *, const DBT *, DBT *), unsigned int flags)
 Associate secondary database with primary.
int(* join )(dbiIndex dbi, DBC **curslist, DBC **dbcp, unsigned int flags)
 Return join cursor for list of cursors.
int(* copen )(dbiIndex dbi, DB_TXN *txnid, DBC **dbcp, unsigned int dbiflags)
 Open database cursor.
int(* cclose )(dbiIndex dbi, DBC *dbcursor, unsigned int flags)
 Close database cursor.
int(* cdup )(dbiIndex dbi, DBC *dbcursor, DBC **dbcp, unsigned int flags)
 Duplicate a database cursor.
int(* cdel )(dbiIndex dbi, DBC *dbcursor, DBT *key, DBT *data, unsigned int flags)
 Delete (key,data) pair(s) using db->del or dbcursor->c_del.
int(* cget )(dbiIndex dbi, DBC *dbcursor, DBT *key, DBT *data, unsigned int flags)
 Retrieve (key,data) pair using db->get or dbcursor->c_get.
int(* cpget )(dbiIndex dbi, DBC *dbcursor, DBT *key, DBT *pkey, DBT *data, unsigned int flags)
 Retrieve (key,data) pair using dbcursor->c_pget.
int(* cput )(dbiIndex dbi, DBC *dbcursor, DBT *key, DBT *data, unsigned int flags)
 Store (key,data) pair using db->put or dbcursor->c_put.
int(* ccount )(dbiIndex dbi, DBC *dbcursor, unsigned int *countp, unsigned int flags)
 Retrieve count of (possible) duplicate items using dbcursor->c_count.
int(* byteswapped )(dbiIndex dbi)
 Is database byte swapped?
int(* stat )(dbiIndex dbi, unsigned int flags)
 Save statistics in database handle.


Detailed Description

Private methods for accessing an index database.

Definition at line 78 of file rpmdb.h.


Field Documentation

int _dbiVec::dbv_major

Berkeley db version major

Definition at line 79 of file rpmdb.h.

int _dbiVec::dbv_minor

Berkeley db version minor

Definition at line 80 of file rpmdb.h.

int _dbiVec::dbv_patch

Berkeley db version patch

Definition at line 81 of file rpmdb.h.


The documentation for this struct was generated from the following file:
Generated on Fri Oct 12 08:44:57 2007 for rpm by  doxygen 1.5.2