#include "system.h"
#include <rpmlib.h>
#include "rpmds.h"
#include "debug.h"
Go to the source code of this file.
Data Structures | |
struct | rpmlibProvides_s |
Functions | |
void | rpmShowRpmlibProvides (FILE *fp) |
Display current rpmlib feature provides. | |
int | rpmCheckRpmlibProvides (const rpmds key) |
Check dependency against internal rpmlib feature provides. | |
int | rpmGetRpmlibProvides (const char ***provNames, int **provFlags, const char ***provVersions) |
Return copy of rpmlib internal provides. | |
Variables | |
static struct rpmlibProvides_s | rpmlibProvides [] |
Definition in file rpmlibprov.c.
int rpmCheckRpmlibProvides | ( | const rpmds | key | ) |
Check dependency against internal rpmlib feature provides.
key | dependency |
Definition at line 82 of file rpmlibprov.c.
References rpmlibProvides_s::featureEVR, rpmlibProvides_s::featureFlags, rpmlibProvides_s::featureName, rpmdsCompare(), rpmdsFree(), rpmdsSingle(), rpmlibProvides, and RPMTAG_PROVIDENAME.
Referenced by unsatisfiedDepend().
int rpmGetRpmlibProvides | ( | const char *** | provNames, | |
int ** | provFlags, | |||
const char *** | provVersions | |||
) |
Return copy of rpmlib internal provides.
provNames | address of array of rpmlib internal provide names | |
provFlags | address of array of rpmlib internal provide flags | |
provVersions | address of array of rpmlib internal provide versions |
Definition at line 101 of file rpmlibprov.c.
References _free(), rpmlibProvides_s::featureEVR, rpmlibProvides_s::featureFlags, rpmlibProvides_s::featureName, rpmlibProvides, and xcalloc().
struct rpmlibProvides_s rpmlibProvides[] [static] |
Definition at line 26 of file rpmlibprov.c.
Referenced by rpmCheckRpmlibProvides(), rpmGetRpmlibProvides(), and rpmShowRpmlibProvides().