27typedef enum rpmdbOpX_e {
34typedef enum rpmdbCtrlOp_e {
35 RPMDB_CTRL_LOCK_RO = 1,
36 RPMDB_CTRL_UNLOCK_RO = 2,
37 RPMDB_CTRL_LOCK_RW = 3,
38 RPMDB_CTRL_UNLOCK_RW = 4,
39 RPMDB_CTRL_INDEXSYNC = 5
81unsigned int rpmdbGetIteratorFileNum(rpmdbMatchIterator mi);
91 const unsigned int * hdrNums,
unsigned int nHdrNums);
129 rpmRC (*hdrchk) (
rpmts ts,
const void * uh,
size_t uc,
char ** msg));
140 const void * keyp,
size_t keylen);
int rpmdbIndexIteratorNextTd(rpmdbIndexIterator ii, rpmtd keytd)
int rpmdbGetIteratorCount(rpmdbMatchIterator mi)
int rpmdbCtrl(rpmdb db, rpmdbCtrlOp ctrl)
rpmdbMatchIterator rpmdbInitIterator(rpmdb db, rpmDbiTagVal rpmtag, const void *keyp, size_t keylen)
unsigned int rpmdbIndexIteratorNumPkgs(rpmdbIndexIterator ii)
int rpmdbStat(const char *prefix, struct stat *statbuf)
rpmdbIndexIterator rpmdbIndexIteratorInit(rpmdb db, rpmDbiTag rpmtag)
int rpmdbAppendIterator(rpmdbMatchIterator mi, const unsigned int *hdrNums, unsigned int nHdrNums)
int rpmdbCountPackages(rpmdb db, const char *name)
unsigned int rpmdbGetIteratorOffset(rpmdbMatchIterator mi)
rpmdbIndexIterator rpmdbIndexIteratorFree(rpmdbIndexIterator ii)
unsigned int rpmdbIndexIteratorTagNum(rpmdbIndexIterator ii, unsigned int nr)
rpmdbIndexIterator rpmdbIndexKeyIteratorInit(rpmdb db, rpmDbiTag rpmtag)
rpmdbMatchIterator rpmdbFreeIterator(rpmdbMatchIterator mi)
int rpmdbSetHdrChk(rpmdbMatchIterator mi, rpmts ts, rpmRC(*hdrchk)(rpmts ts, const void *uh, size_t uc, char **msg))
Header rpmdbNextIterator(rpmdbMatchIterator mi)
int rpmdbSetIteratorModified(rpmdbMatchIterator mi, int modified)
int rpmdbOpenAll(rpmdb db)
int rpmdbSetIteratorRewrite(rpmdbMatchIterator mi, int rewrite)
rpmop rpmdbOp(rpmdb db, rpmdbOpX opx)
int rpmdbIndexIteratorNext(rpmdbIndexIterator ii, const void **key, size_t *keylen)
char * rpmdbCookie(rpmdb db)
int rpmdbFStat(rpmdb db, struct stat *statbuf)
unsigned int rpmdbIndexIteratorPkgOffset(rpmdbIndexIterator ii, unsigned int nr)
int rpmdbSetIteratorRE(rpmdbMatchIterator mi, rpmTagVal tag, rpmMireMode mode, const char *pattern)
enum rpmDbiTag_e rpmDbiTag
struct rpmts_s * rpmts
Definition: rpmtypes.h:63
struct headerToken_s * Header
Definition: rpmtypes.h:24
enum rpmMireMode_e rpmMireMode
rpmMireMode_e
Definition: rpmdb.h:20
@ RPMMIRE_STRCMP
Definition: rpmdb.h:22
@ RPMMIRE_REGEX
Definition: rpmdb.h:23
@ RPMMIRE_GLOB
Definition: rpmdb.h:24
@ RPMMIRE_DEFAULT
Definition: rpmdb.h:21