rpmdb/rpmdb.h - Access RPM indices using Berkeley DB interface(s).
#include <rpmlib.h>
struct _dbiIndex
struct _dbiIndexItem
struct _dbiIndexSet
struct _dbiVec
struct rpmdb_s
#define DB void
#define DB_ENV void
#define DBC void
#define DBT void
#define DB_LSN void
#define DBI_WRITECURSOR (1 << 0)
#define DBI_ITERATOR (1 << 1)
typedef _dbiIndexItem * dbiIndexItem
typedef _dbiIndex * dbiIndex
enum rpmdbFlags { RPMDB_FLAG_JUSTCHECK = (1 << 0), RPMDB_FLAG_MINIMAL = (1 << 1), RPMDB_FLAG_CHROOT = (1 << 2) }
dbiIndex db3New (rpmdb rpmdb, int rpmtag)
dbiIndex db3Free (dbiIndex dbi)
const char *const prDbiOpenFlags (int dbflags, int print_dbenv_flags)
dbiIndex dbiOpen (rpmdb db, int rpmtag, unsigned int flags)
int dbiCopen (dbiIndex dbi, void **dbcp, unsigned int flags)
int dbiCclose (dbiIndex dbi, void *dbcursor, unsigned int flags)
int dbiDel (dbiIndex dbi, void *dbcursor, const void *keyp, size_t keylen, unsigned int flags)
int dbiGet (dbiIndex dbi, void *dbcursor, void **keypp, size_t *keylenp, void **datapp, size_t *datalenp, unsigned int flags)
int dbiPut (dbiIndex dbi, void *dbcursor, const void *keyp, size_t keylen, const void *datap, size_t datalen, unsigned int flags)
int dbiCount (dbiIndex dbi, void *dbcursor, unsigned int *countp, unsigned int flags)
int dbiVerify (dbiIndex dbi, unsigned int flags)
int dbiClose (dbiIndex dbi, unsigned int flags)
int dbiSync (dbiIndex dbi, unsigned int flags)
int dbiByteSwapped (dbiIndex dbi)
char * db1basename (int rpmtag)
unsigned int rpmdbGetIteratorFileNum (rpmdbMatchIterator mi)
dbiIndexSet dbiFreeIndexSet (dbiIndexSet set)
unsigned int dbiIndexSetCount (dbiIndexSet set)
unsigned int dbiIndexRecordOffset (dbiIndexSet set, int recno)
unsigned int dbiIndexRecordFileNumber (dbiIndexSet set, int recno)
int mergesort (void *base, size_t nmemb, size_t size, int(*cmp)(const void *, const void *))
Mergesort, same arguments as qsort(2).
Access RPM indices using Berkeley DB interface(s).
Definition at line 42 of file rpmdb.h.
Referenced by db1cdel(), db1cget(), db1close(), db1cput(), db1sync(), db3byteswapped(), db3c_open(), db3cdel(), db3cget(), db3close(), db3cput(), db3open(), db3stat(), and db3sync().
Definition at line 43 of file rpmdb.h.
Referenced by db3close(), db3open(), db_fini(), and db_init().
Definition at line 46 of file rpmdb.h.
Definition at line 44 of file rpmdb.h.
Referenced by addIndexEntry(), db1cclose(), db1ccount(), db1cdel(), db1cget(), db1copen(), db1cput(), db3c_close(), db3c_del(), db3c_dup(), db3c_get(), db3c_open(), db3c_put(), db3cclose(), db3ccount(), db3cdel(), db3cget(), db3copen(), db3cput(), db3open(), dbiCclose(), dbiCopen(), dbiCount(), dbiDel(), dbiFindByLabel(), dbiFindMatches(), dbiGet(), dbiPut(), dbiSearch(), dbiUpdateIndex(), dbiUpdateRecord(), openDatabase(), removeIndexEntry(), rpmdbAdd(), rpmdbCountPackages(), rpmdbFindByFile(), rpmdbGrowIterator(), rpmdbInitIterator(), rpmdbRemove(), and unsatisfiedDepend().
Definition at line 399 of file rpmdb.h.
Referenced by db3cclose(), db3copen(), rpmdbFreeIterator(), and rpmdbNextIterator().
Definition at line 398 of file rpmdb.h.
Referenced by db3c_open(), dbiCopen(), rpmdbAdd(), rpmdbRemove(), rpmdbSetIteratorRewrite(), and unsatisfiedDepend().
Definition at line 45 of file rpmdb.h.
Definition at line 17 of file rpmdb.h.
Definition at line 13 of file rpmdb.h.
Mergesort, same arguments as qsort(2).
Referenced by rpmdbSortIterator().
Generated automatically by Doxygen for rpm from the source code.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |