rpm 5.3.7
|
#include "system.h"
#include <sys/file.h>
#include <rpmiotypes.h>
#include <rpmlog.h>
#include <rpmpgp.h>
#include <rpmurl.h>
#include <rpmhash.h>
#include <rpmmacro.h>
#include <rpmsq.h>
#include <rpmsx.h>
#include <argv.h>
#include <rpmbf.h>
#include <rpmtypes.h>
#include "header_internal.h"
#include "rpmdb.h"
#include "pkgio.h"
#include "fprint.h"
#include "legacy.h"
#include "debug.h"
Go to the source code of this file.
Data Structures | |
union | _dbswap |
struct | _setSwap_s |
struct | rpmmi_s |
Defines | |
#define | _MIRE_INTERNAL |
#define | _RPMBF_INTERNAL |
#define | _RPMTAG_INTERNAL |
#define | _RPMDB_INTERNAL |
#define | UINT32_T rpmuint32_t |
#define | _DBI_FLAGS 0 |
#define | _DBI_PERMS 0644 |
#define | _DBI_MAJOR -1 |
#define | DB1vec NULL |
#define | DB2vec NULL |
#define | DB3vec NULL |
#define | SQLITEvec NULL |
#define | _DB_ROOT "/" |
#define | _DB_HOME "%{?_dbpath}" |
#define | _DB_FLAGS 0 |
#define | _DB_MODE 0 |
#define | _DB_PERMS 0644 |
#define | _DB_MAJOR 3 |
#define | _DB_ERRPFX "rpmdb" |
Typedefs | |
typedef struct _setSwap_s * | setSwap |
Functions | |
static size_t | dbiTagToDbix (rpmdb db, rpmTag tag) |
Return dbi index used for rpm tag. | |
static void | dbiTagsInit (tagStore_t *dbiTagsP, size_t *dbiNTagsP) |
Initialize database (index, tag) tuple from configuration. | |
static int | checkfd (const char *devnull, int fdno, int flags) |
dbiIndex | dbiOpen (rpmdb db, rpmTag tag, unsigned int flags) |
static uint64_t | _ntoh_ul (uint64_t ul) |
static uint64_t | _hton_ul (uint64_t ul) |
static uint32_t | _ntoh_ui (uint32_t ui) |
static uint32_t | _hton_ui (uint32_t ui) |
static uint16_t | _ntoh_us (uint16_t us) |
static uint16_t | _hton_us (uint16_t us) |
static int | hdrNumCmp (const void *one, const void *two) |
static int | dbiAppendSet (dbiIndexSet set, const void *recs, int nrecs, size_t recsize, int sortset) |
Append element(s) to set of index database items. | |
unsigned int | dbiIndexSetCount (dbiIndexSet set) |
uint32_t | dbiIndexRecordOffset (dbiIndexSet set, unsigned int recno) |
uint32_t | dbiIndexRecordFileNumber (dbiIndexSet set, unsigned int recno) |
dbiIndexSet | dbiFreeIndexSet (dbiIndexSet set) |
int | rpmdbCheckTerminate (int terminate) |
Check rpmdb signal handler for trapped signal and/or requested exit. | |
int | rpmdbCheckSignals (void) |
Check for and exit on termination signals. | |
static int | blockSignals (rpmdb db, sigset_t *oldMask) |
Block all signals, returning previous signal mask. | |
static int | unblockSignals (rpmdb db, sigset_t *oldMask) |
Restore signal mask. | |
static const char * | queryHeader (Header h, const char *qfmt) |
Return header query string. | |
static int | rpmdbExportInfo (rpmdb db, Header h, int adding) |
Write added/removed header info. | |
static rpmdb | rpmdbGetPool (rpmioPool pool) |
int | rpmdbOpenAll (rpmdb db) |
Open all database indices. | |
int | rpmdbBlockDBI (rpmdb db, int tag) |
Block access to a single database index. | |
int | rpmdbCloseDBI (rpmdb db, int tag) |
Close a single database index. | |
int | rpmdbClose (rpmdb db) |
Close all database indices and free rpmdb. | |
static const char * | rpmdbURIPath (const char *uri) |
Return macro expanded absolute path to rpmdb. | |
rpmdb | rpmdbNew (const char *root, const char *home, int mode, mode_t perms, int flags) |
static int | rpmdbOpenDatabase (const char *prefix, const char *dbpath, int _dbapi, rpmdb *dbp, int mode, mode_t perms, int flags) |
int | rpmdbOpen (const char *prefix, rpmdb *dbp, int mode, mode_t perms) |
Open rpm database. | |
int | rpmdbCount (rpmdb db, rpmTag tag, const void *keyp, size_t keylen) |
Return number of instances of key in a tag index. | |
int | rpmdbCountPackages (rpmdb db, const char *N) |
Return number of instances of package in Name index. | |
static const char * | stemEnd (const char *s) |
static const char * | _str2PCREpat (const char *_pre, const char *s, const char *_post) |
static int | dbiMireKeys (rpmdb db, rpmTag tag, rpmMireMode mode, const char *pat, dbiIndexSet *matches, const char ***argvp) |
Retrieve prinary/secondary keys for a pattern match. | |
int | rpmdbMireApply (rpmdb db, rpmTag tag, rpmMireMode mode, const char *pat, const char ***argvp) |
Return array of keys matching a pattern. | |
int | rpmmiGrowBasename (rpmmi mi, const char *bn) |
Append packages containing common basename to iterator. | |
static rpmRC | dbiFindMatches (dbiIndex dbi, const char *pat, dbiIndexSet *matches) |
Attempt partial matches on name[-version[-release]] strings. | |
void * | dbiStatsAccumulator (dbiIndex dbi, int opx) |
static int | miFreeHeader (rpmmi mi, dbiIndex dbi) |
Rewrite a header into packages (if necessary) and free the header. | |
static void | rpmmiFini (void *_mi) |
static rpmmi | rpmmiGetPool (rpmioPool pool) |
uint32_t | rpmmiInstance (rpmmi mi) |
Return header instance for current position of rpmdb iterator. | |
uint32_t | rpmmiBNTag (rpmmi mi) |
Return basename tag for current position of rpmdb iterator. | |
unsigned int | rpmmiCount (rpmmi mi) |
Return number of elements in rpm database iterator. | |
static int | mireCmp (const void *a, const void *b) |
Compare iterator selectors by rpm tag (qsort/bsearch). | |
static char * | mireDup (rpmTag tag, rpmMireMode *modep, const char *pattern) |
Copy pattern, escaping for appropriate mode. | |
int | rpmmiAddPattern (rpmmi mi, rpmTag tag, rpmMireMode mode, const char *pattern) |
Add pattern to iterator selector. | |
static unsigned char | nibble (char c) |
Convert hex to binary nibble. | |
static char * | bin2hex (const void *data, size_t size) |
Convert binary blob to printable hex string. | |
static int | mireSkip (const rpmmi mi) |
Return iterator selector match. | |
int | rpmmiSetRewrite (rpmmi mi, int rewrite) |
Prepare iterator for lazy writes. | |
int | rpmmiSetModified (rpmmi mi, int modified) |
Modify iterator to mark header for lazy write on release. | |
static int | rpmmiGet (dbiIndex dbi, DBC *dbcursor, DBT *kp, DBT *pk, DBT *vp, unsigned int flags) |
Header | rpmmiNext (rpmmi mi) |
Return next package header from iteration. | |
int | rpmmiSort (rpmmi mi) |
Sort iterator instances. | |
int | rpmmiPrune (rpmmi mi, uint32_t *hdrNums, int nHdrNums, int sorted) |
Remove items from set of package instances to iterate. | |
int | rpmmiGrow (rpmmi mi, const uint32_t *hdrNums, int nHdrNums) |
Append items to set of package instances to iterate. | |
rpmmi | rpmmiInit (rpmdb db, rpmTag tag, const void *keyp, size_t keylen) |
Return database iterator. | |
int | rpmdbRemove (rpmdb db, int rid, uint32_t hdrNum, rpmts ts) |
Remove package header from rpm database and indices. | |
int | rpmdbAdd (rpmdb db, int iid, Header h, rpmts ts) |
Add package header to rpm database and indices. | |
Variables | |
int | _rpmdb_debug = 0 |
int | _rpmmi_debug = 0 |
static struct _dbiVec * | mydbvecs [] |
static union _dbswap | _endian = { .ui = 0x11223344 } |
static rpmdb | rpmdbRock |
static rpmmi | rpmmiRock |
rpmioPool | _rpmdbPool |
rpmioPool | _rpmmiPool |
static int | _rpmmi_usermem = 1 |
Definition in file rpmdb.c.
#define _DB_ERRPFX "rpmdb" |
Definition at line 882 of file rpmdb.c.
Referenced by rpmdbNew().
#define _DB_FLAGS 0 |
Definition at line 877 of file rpmdb.c.
Referenced by rpmdbNew().
#define _DB_HOME "%{?_dbpath}" |
Definition at line 876 of file rpmdb.c.
Referenced by rpmdbNew().
#define _DB_MAJOR 3 |
Definition at line 881 of file rpmdb.c.
Referenced by rpmdbNew().
#define _DB_MODE 0 |
Definition at line 878 of file rpmdb.c.
Referenced by rpmdbNew().
#define _DB_PERMS 0644 |
Definition at line 879 of file rpmdb.c.
Referenced by rpmdbNew().
#define _DB_ROOT "/" |
Definition at line 875 of file rpmdb.c.
Referenced by rpmdbNew().
#define UINT32_T rpmuint32_t |
Definition at line 38 of file rpmdb.c.
Referenced by dbiMireKeys(), miFreeHeader(), rpmdbAdd(), rpmdbCount(), rpmdbRemove(), rpmmiCount(), and rpmmiNext().
typedef struct _setSwap_s * setSwap |
static uint32_t _hton_ui | ( | uint32_t | ui | ) | [inline, static] |
Definition at line 329 of file rpmdb.c.
References _ntoh_ui().
Referenced by rpmdbAdd(), rpmdbRemove(), rpmmiInit(), rpmmiNext(), and rpmmiPrune().
static uint64_t _hton_ul | ( | uint64_t | ul | ) | [inline, static] |
Definition at line 311 of file rpmdb.c.
References _ntoh_ul().
static uint16_t _hton_us | ( | uint16_t | us | ) | [inline, static] |
static uint32_t _ntoh_ui | ( | uint32_t | ui | ) | [inline, static] |
Definition at line 317 of file rpmdb.c.
References _dbswap::uc, and _dbswap::ui.
Referenced by _hton_ui(), dbiMireKeys(), miFreeHeader(), rpmmiInstance(), and rpmmiNext().
static uint64_t _ntoh_ul | ( | uint64_t | ul | ) | [inline, static] |
Definition at line 297 of file rpmdb.c.
References _dbswap::uc, and _dbswap::ul.
Referenced by _hton_ul().
static uint16_t _ntoh_us | ( | uint16_t | us | ) | [inline, static] |
Definition at line 335 of file rpmdb.c.
References _dbswap::uc, and _dbswap::us.
Referenced by _hton_us().
static const char* _str2PCREpat | ( | const char * | _pre, |
const char * | s, | ||
const char * | _post | ||
) | [static] |
Definition at line 1148 of file rpmdb.c.
References stpcpy(), and xmalloc().
Referenced by dbiFindMatches().
static char* bin2hex | ( | const void * | data, |
size_t | size | ||
) | [static] |
Convert binary blob to printable hex string.
data | binary data |
size | size of data in bytes |
Definition at line 1884 of file rpmdb.c.
References xmalloc().
Referenced by mireSkip().
static int blockSignals | ( | rpmdb | db, |
sigset_t * | oldMask | ||
) | [static] |
Block all signals, returning previous signal mask.
db | rpm database |
*oldMask | previous sigset |
Definition at line 530 of file rpmdb.c.
Referenced by miFreeHeader(), rpmdbAdd(), and rpmdbRemove().
static int checkfd | ( | const char * | devnull, |
int | fdno, | ||
int | flags | ||
) | [inline, static] |
static int dbiAppendSet | ( | dbiIndexSet | set, |
const void * | recs, | ||
int | nrecs, | ||
size_t | recsize, | ||
int | sortset | ||
) | [static] |
Append element(s) to set of index database items.
set | set of index database items |
recs | array of items to append to set |
nrecs | number of items |
recsize | size of an array item |
sortset | should resulting set be sorted? |
Definition at line 375 of file rpmdb.c.
References hdrNumCmp(), recs, set(), and xrealloc().
Referenced by dbiMireKeys(), rpmmiGrow(), and rpmmiGrowBasename().
static rpmRC dbiFindMatches | ( | dbiIndex | dbi, |
const char * | pat, | ||
dbiIndexSet * | matches | ||
) | [static] |
Attempt partial matches on name[-version[-release]] strings.
dbi | index database handle (always RPMTAG_NVRA) |
pat | pattern to match against secondary keys |
matches | set of header instances that match |
Definition at line 1403 of file rpmdb.c.
References _, _free(), _str2PCREpat(), DB_NOTFOUND, dbiFreeIndexSet(), dbiMireKeys(), Glob_pattern_p(), rpmlog(), RPMLOG_ERR, RPMMIRE_GLOB, RPMMIRE_PCRE, RPMMIRE_STRCMP, RPMRC_FAIL, RPMRC_NOTFOUND, RPMRC_OK, tagName(), and xstrdup().
Referenced by rpmmiInit().
dbiIndexSet dbiFreeIndexSet | ( | dbiIndexSet | set | ) |
Definition at line 421 of file rpmdb.c.
References _free(), and set().
Referenced by dbiFindMatches(), dbiMireKeys(), rpmmiFini(), rpmmiGrowBasename(), and rpmmiInit().
uint32_t dbiIndexRecordFileNumber | ( | dbiIndexSet | set, |
unsigned int | recno | ||
) |
Definition at line 416 of file rpmdb.c.
Referenced by rpmmiNext().
uint32_t dbiIndexRecordOffset | ( | dbiIndexSet | set, |
unsigned int | recno | ||
) |
Definition at line 411 of file rpmdb.c.
Referenced by rpmmiNext().
unsigned int dbiIndexSetCount | ( | dbiIndexSet | set | ) |
static int dbiMireKeys | ( | rpmdb | db, |
rpmTag | tag, | ||
rpmMireMode | mode, | ||
const char * | pat, | ||
dbiIndexSet * | matches, | ||
const char *** | argvp | ||
) | [static] |
Retrieve prinary/secondary keys for a pattern match.
db | rpm database |
tag | rpm tag |
mode | type of pattern match |
pat | pattern to match (NULL iterates all keys). |
*matches | array or primary keys that match (or NULL) |
*argvp | array of secondary keys that match (or NULL) |
Definition at line 1186 of file rpmdb.c.
References _, _free(), _ntoh_ui(), _rpmmi_debug, argvAdd(), argvAppend(), argvFree(), __db_dbt::data, DB_NEXT, DB_NOTFOUND, DB_SET, dbiAppendSet(), dbiFreeIndexSet(), dbiOpen(), __db_dbt::flags, mireFree(), mireNew(), mireRegcomp(), mireRegexec(), rpmlog(), RPMLOG_ERR, RPMMIRE_GLOB, RPMMIRE_PCRE, RPMMIRE_REGEX, RPMMIRE_STRCMP, __db_dbt::size, stemEnd(), tagName(), UINT32_T, xcalloc(), and xmalloc().
Referenced by dbiFindMatches(), rpmdbMireApply(), and rpmmiGrowBasename().
Definition at line 217 of file rpmdb.c.
References _, _rpmdb_debug, checkfd(), dbiTagToDbix(), mydbvecs, rpmlog(), RPMLOG_ERR, and tagName().
Referenced by db3open(), dbiMireKeys(), rpmdbAdd(), rpmdbCount(), rpmdbOpenAll(), rpmdbOpenDatabase(), rpmdbRemove(), rpmmiCount(), rpmmiFini(), rpmmiInit(), rpmmiNext(), rpmpsmStage(), rpmtsRebuildDB(), and unsatisfiedDepend().
static void dbiTagsInit | ( | tagStore_t * | dbiTagsP, |
size_t * | dbiNTagsP | ||
) | [static] |
Initialize database (index, tag) tuple from configuration.
Definition at line 87 of file rpmdb.c.
References _free(), _rpmdb_debug, RPMDBI_PACKAGES, rpmExpand(), tagStoreFree(), tagValue(), xcalloc(), xisspace(), xrealloc(), and xstrdup().
Referenced by rpmdbNew().
static int hdrNumCmp | ( | const void * | one, |
const void * | two | ||
) | [static] |
Definition at line 359 of file rpmdb.c.
Referenced by dbiAppendSet(), and rpmmiSort().
Rewrite a header into packages (if necessary) and free the header.
Note: this is called from a markReplacedFiles iteration, and *must* preserve the "join key" (i.e. offset) for the header.
mi | database iterator |
dbi | index database handle |
Definition at line 1500 of file rpmdb.c.
References _, _free(), _ntoh_ui(), blockSignals(), __db_dbt::data, DB_KEYLAST, headerFree(), headerUnload(), rpmmi_s::mi_dbc, rpmmi_s::mi_h, rpmmi_s::mi_modified, rpmmi_s::mi_prevoffset, rpmlog(), RPMLOG_ERR, __db_dbt::size, tagName(), UINT32_T, and unblockSignals().
Referenced by rpmmiFini(), and rpmmiNext().
static int mireCmp | ( | const void * | a, |
const void * | b | ||
) | [static] |
Compare iterator selectors by rpm tag (qsort/bsearch).
a | 1st iterator selector |
b | 2nd iterator selector |
Definition at line 1663 of file rpmdb.c.
Referenced by rpmmiAddPattern().
static char* mireDup | ( | rpmTag | tag, |
rpmMireMode * | modep, | ||
const char * | pattern | ||
) | [static] |
Copy pattern, escaping for appropriate mode.
tag | rpm tag |
modep | type of pattern match |
pattern | pattern to duplicate |
Definition at line 1679 of file rpmdb.c.
References RPMMIRE_DEFAULT, RPMMIRE_GLOB, RPMMIRE_REGEX, RPMMIRE_STRCMP, xmalloc(), and xstrdup().
Referenced by rpmmiAddPattern().
static int mireSkip | ( | const rpmmi | mi | ) | [static] |
Return iterator selector match.
mi | rpm database iterator |
Definition at line 1908 of file rpmdb.c.
References _free(), alloca(), rpmDataType_u::argv, bin2hex(), _HE_s::c, headerGet(), rpmmi_s::mi_h, rpmmi_s::mi_nre, rpmmi_s::mi_re, mireRegexec(), _HE_s::p, rpmDataType_u::ptr, RPM_BIN_TYPE, RPM_I18NSTRING_TYPE, RPM_STRING_ARRAY_TYPE, RPM_STRING_TYPE, RPM_UINT16_TYPE, RPM_UINT32_TYPE, RPM_UINT64_TYPE, RPM_UINT8_TYPE, rpmDataType_u::str, _HE_s::t, _HE_s::tag, rpmDataType_u::ui16p, rpmDataType_u::ui32p, rpmDataType_u::ui64p, rpmDataType_u::ui8p, and xcalloc().
Referenced by rpmmiNext().
static unsigned char nibble | ( | char | c | ) | [inline, static] |
static const char* queryHeader | ( | Header | h, |
const char * | qfmt | ||
) | [inline, static] |
Return header query string.
h | header |
qfmt | header sprintf format |
Definition at line 568 of file rpmdb.c.
References _, headerCompoundFormats, headerSprintf(), rpmlog(), and RPMLOG_ERR.
Referenced by rpmdbExportInfo().
int rpmdbBlockDBI | ( | rpmdb | db, |
int | tag | ||
) |
Block access to a single database index.
db | rpm database |
tag | rpm tag (negative to block) |
Definition at line 704 of file rpmdb.c.
Referenced by rpmgiNext().
int rpmdbCloseDBI | ( | rpmdb | db, |
int | tag | ||
) |
Close a single database index.
db | rpm database |
tag | rpm tag |
Definition at line 722 of file rpmdb.c.
Referenced by _rpmtsCheck().
Write added/removed header info.
db | rpm database |
h | header |
adding | adding an rpmdb header? |
Definition at line 590 of file rpmdb.c.
References _free(), alloca(), errno, Fclose(), Fopen(), headerGet(), _HE_s::p, rpmDataType_u::ptr, queryHeader(), rpmGetPath(), rpmioMkpath(), rpmlog(), RPMLOG_DEBUG, _HE_s::tag, rpmDataType_u::ui32p, Unlink(), Utime(), and xstrdup().
Referenced by rpmdbNew().
Definition at line 655 of file rpmdb.c.
References _rpmdb_debug, _rpmdbPool, rpmioGetPool(), and rpmioNewPool().
Referenced by rpmdbNew().
rpmdb rpmdbNew | ( | const char * | root, |
const char * | home, | ||
int | mode, | ||
mode_t | perms, | ||
int | flags | ||
) |
Definition at line 886 of file rpmdb.c.
References _, _DB_ERRPFX, _DB_FLAGS, _DB_HOME, _DB_MAJOR, _DB_MODE, _DB_PERMS, _DB_ROOT, _free(), _rpmdb_debug, dbiTagsInit(), rpmdbExportInfo(), rpmdbGetPool(), rpmdbLink(), rpmdbURIPath(), rpmExpand(), rpmioPutPool(), rpmlog(), RPMLOG_ERR, and xcalloc().
Referenced by rpmdbOpenDatabase().
static int rpmdbOpenDatabase | ( | const char * | prefix, |
const char * | dbpath, | ||
int | _dbapi, | ||
rpmdb * | dbp, | ||
int | mode, | ||
mode_t | perms, | ||
int | flags | ||
) | [static] |
Definition at line 950 of file rpmdb.c.
References dbiOpen(), rpmdbClose(), RPMDBI_ADDED, RPMDBI_AVAILABLE, RPMDBI_DEPENDS, RPMDBI_PACKAGES, RPMDBI_REMOVED, rpmdbNew(), rpmdbRock, and rpmsqEnable().
Referenced by rpmdbOpen().
static const char* rpmdbURIPath | ( | const char * | uri | ) | [static] |
Return macro expanded absolute path to rpmdb.
uri | desired path |
Definition at line 823 of file rpmdb.c.
References _free(), argvFree(), argvSplit(), PATH_MAX, Realpath(), rpmGetPath(), stpncpy(), URL_IS_DASH, URL_IS_FTP, URL_IS_HKP, URL_IS_HTTP, URL_IS_HTTPS, URL_IS_PATH, URL_IS_UNKNOWN, urlPath(), and xstrdup().
Referenced by rpmdbNew().
static void rpmmiFini | ( | void * | _mi | ) | [static] |
Definition at line 1546 of file rpmdb.c.
References _free(), dbiFreeIndexSet(), dbiOpen(), rpmmi_s::mi_bf, rpmmi_s::mi_db, rpmmi_s::mi_dbc, rpmmi_s::mi_keylen, rpmmi_s::mi_keyp, rpmmi_s::mi_next, rpmmi_s::mi_nre, rpmmi_s::mi_primary, rpmmi_s::mi_re, rpmmi_s::mi_set, miFreeHeader(), mireFreeAll(), rpmdbCheckSignals(), rpmdbClose(), RPMDBI_PACKAGES, and rpmmiRock.
Referenced by rpmmiGetPool().
static int rpmmiGet | ( | dbiIndex | dbi, |
DBC * | dbcursor, | ||
DBT * | kp, | ||
DBT * | pk, | ||
DBT * | vp, | ||
unsigned int | flags | ||
) | [static] |
Definition at line 2055 of file rpmdb.c.
References _rpmmi_debug, _rpmmi_usermem, __db_dbt::data, errno, __db_dbt::flags, __db_dbt::size, and tagName().
Referenced by rpmmiNext().
Definition at line 1598 of file rpmdb.c.
References _rpmmi_debug, _rpmmiPool, rpmioGetPool(), rpmioNewPool(), and rpmmiFini().
Referenced by rpmmiInit().
static const char* stemEnd | ( | const char * | s | ) | [static] |
Definition at line 1114 of file rpmdb.c.
Referenced by dbiMireKeys().
static int unblockSignals | ( | rpmdb | db, |
sigset_t * | oldMask | ||
) | [static] |
Restore signal mask.
db | rpm database |
oldMask | previous sigset |
Definition at line 553 of file rpmdb.c.
References rpmdbCheckSignals().
Referenced by miFreeHeader(), rpmdbAdd(), and rpmdbRemove().
int _rpmdb_debug = 0 |
Definition at line 54 of file rpmdb.c.
Referenced by dbiOpen(), dbiTagsInit(), rpmdbAdd(), rpmdbClose(), rpmdbGetPool(), and rpmdbNew().
Definition at line 653 of file rpmdb.c.
Referenced by rpmcliFini(), and rpmdbGetPool().
int _rpmmi_debug = 0 |
Definition at line 57 of file rpmdb.c.
Referenced by dbiMireKeys(), rpmdbMireApply(), rpmmiAddPattern(), rpmmiBNTag(), rpmmiCount(), rpmmiGet(), rpmmiGetPool(), rpmmiGrow(), rpmmiGrowBasename(), rpmmiInit(), rpmmiInstance(), rpmmiNext(), and rpmmiPrune().
int _rpmmi_usermem = 1 [static] |
Definition at line 2053 of file rpmdb.c.
Referenced by rpmmiGet(), and rpmmiNext().
Definition at line 1596 of file rpmdb.c.
Referenced by rpmcliFini(), and rpmmiGetPool().
struct _dbiVec* mydbvecs[] [static] |
Definition at line 460 of file rpmdb.c.
Referenced by rpmdbCheckTerminate(), rpmdbClose(), and rpmdbOpenDatabase().
Definition at line 463 of file rpmdb.c.
Referenced by rpmmiFini(), and rpmmiInit().