Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

rpmlibprov.c File Reference

#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 []


Detailed Description

Definition in file rpmlibprov.c.


Function Documentation

int rpmCheckRpmlibProvides const rpmds  key  ) 
 

Check dependency against internal rpmlib feature provides.

Parameters:
key dependency
Returns:
1 if dependency overlaps, 0 otherwise

Definition at line 83 of file rpmlibprov.c.

References rpmlibProvides_s::featureEVR, rpmlibProvides_s::featureFlags, rpmlibProvides_s::featureName, rpmdsCompare(), rpmdsFree(), rpmdsSingle(), and RPMTAG_PROVIDENAME.

Referenced by unsatisfiedDepend().

int rpmGetRpmlibProvides const char ***  provNames,
int **  provFlags,
const char ***  provVersions
 

Return copy of rpmlib internal provides.

Return values:
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
Returns:
no. of entries

Definition at line 102 of file rpmlibprov.c.

References _free(), rpmlibProvides_s::featureEVR, rpmlibProvides_s::featureFlags, rpmlibProvides_s::featureName, flags, and xcalloc().


Variable Documentation

struct rpmlibProvides_s rpmlibProvides[] [static]
 

Definition at line 26 of file rpmlibprov.c.


Generated on Mon Mar 5 13:30:24 2007 for rpm by  doxygen 1.4.4