version 1.48, 2000/07/19 21:15:41
|
version 1.49, 2000/09/06 09:44:24
|
Line 153 typedef struct rpm_extra_data {
|
Line 153 typedef struct rpm_extra_data {
|
/* |
/* |
* structure associated with a resource |
* structure associated with a resource |
*/ |
*/ |
|
|
typedef struct rpm_resource { |
typedef struct rpm_resource { |
struct rpm_resource *next; /* next in the list */ |
struct rpm_resource *next; /* next in the list */ |
struct rpm_resource *nextHash;/* next in the hash table list */ |
struct rpm_resource *nextHash;/* next in the hash table list */ |
char *name; /* name of the resource */ |
char *name; /* name of the resource */ |
char *version ; /* version of the resource - Added by A.Gibert */ |
char *version; /* version of the resource */ |
char *flags ; /* flags of the resource - Added by A.Gibert */ |
rpm_dep_flag flag; /* flag of the resource */ |
int nb_provider; /* #of resources provided */ |
int nb_provider; /* #of resources provided */ |
int max_provider; /* #of resources slot allocated */ |
int max_provider; /* #of resources slot allocated */ |
time_t stamp; /* max stamp of the provider */ |
time_t stamp; /* max stamp of the provider */ |
Line 199 extern rpmDataPtr rpmSearchSoftware(cons
|
Line 198 extern rpmDataPtr rpmSearchSoftware(cons
|
const char *release, const char *arch); |
const char *release, const char *arch); |
/* extern void rpmDataPrintAll(void); */ |
/* extern void rpmDataPrintAll(void); */ |
extern rpmRessPtr rpmRessAdd(char *ress, rpmDataPtr rpm, int installed); |
extern rpmRessPtr rpmRessAdd(char *ress, rpmDataPtr rpm, int installed); |
extern rpmRessPtr rpmRequAdd(char *requ, char*requv, char*requf, rpmDataPtr rpm, int installed); /* Modified by A.Gibert */ |
extern rpmRessPtr rpmRequAdd(char *requ, char *requv, rpm_dep_flag requf, rpmDataPtr rpm, int installed); |
extern rpmArchPtr rpmArchAdd(char *os, char *arch); |
extern rpmArchPtr rpmArchAdd(char *os, char *arch); |
extern rpmDataPtr rpmOpen(char *nameRpm, rpmDirPtr dir, rpmSubdirPtr tree); |
extern rpmDataPtr rpmOpen(char *nameRpm, rpmDirPtr dir, rpmSubdirPtr tree); |
extern rpmDataPtr rpmDirScanAll(void); |
extern rpmDataPtr rpmDirScanAll(void); |