version 1.7, 1997/11/12 07:06:53
|
version 1.8, 1997/11/13 05:04:34
|
Line 4
|
Line 4
|
* $Id$ |
* $Id$ |
* |
* |
* $Log$ |
* $Log$ |
|
* Revision 1.8 1997/11/13 05:04:34 veillard |
|
* Lot of improvements, copyright, URLs, E-mail, and config files, Daniel. |
|
* |
* Revision 1.7 1997/11/12 07:06:53 veillard |
* Revision 1.7 1997/11/12 07:06:53 veillard |
* Directory support and file scanning are now based on the config files, Daniel. |
* Directory support and file scanning are now based on the config files, Daniel. |
* |
* |
Line 42 typedef struct rpm_dir {
|
Line 45 typedef struct rpm_dir {
|
struct rpm_dir *next; /* next in list */ |
struct rpm_dir *next; /* next in list */ |
char *dir; /* The local repository */ |
char *dir; /* The local repository */ |
char *name; /* Name for this repository */ |
char *name; /* Name for this repository */ |
char *ftphost; /* The host it's mirrored from */ |
char *ftp; /* The host URL it's mirrored from */ |
char *ftpdir; /* The directory it's mirrored from */ |
char *ftpsrc; /* The host URL where src.rpm can be found */ |
char *color; /* The bgcolor for the pages :-) */ |
char *color; /* The bgcolor for the pages :-) */ |
char *trust; /* Confidences in the files */ |
char *trust; /* Confidences in the files */ |
int nb_urls; /* numbers of mirrors */ |
int nb_urls; /* numbers of mirrors */ |
Line 64 typedef struct rpm_data {
|
Line 67 typedef struct rpm_data {
|
char *name; /* name of the software */ |
char *name; /* name of the software */ |
char *version; /* version of the software */ |
char *version; /* version of the software */ |
char *release; /* software release */ |
char *release; /* software release */ |
|
char *url; /* URL for the software */ |
char *arch; /* the target platform */ |
char *arch; /* the target platform */ |
|
char *os; /* the target system */ |
char *distribution; /* general OS distribution */ |
char *distribution; /* general OS distribution */ |
char *vendor; /* general OS vendor */ |
char *vendor; /* general OS vendor */ |
|
char *packager; /* the packager */ |
char *group; /* type of software */ |
char *group; /* type of software */ |
char *summary; /* 1 line summary */ |
char *summary; /* 1 line summary */ |
char *description; /* short description */ |
char *description; /* short description */ |
|
char *copyright; /* software copyright */ |
char *srcrpm; /* source RPM */ |
char *srcrpm; /* source RPM */ |
time_t date; /* date of packaging */ |
time_t date; /* date of packaging */ |
int_32 size; /* size of the software */ |
int_32 size; /* size of the software */ |
Line 103 extern rpmRessPtr ressList;
|
Line 110 extern rpmRessPtr ressList;
|
extern rpmDirPtr dirList; |
extern rpmDirPtr dirList; |
|
|
extern void rpmDataPrint(rpmDataPtr rpm); |
extern void rpmDataPrint(rpmDataPtr rpm); |
extern void rpmDataPrintAll(void); |
/* extern void rpmDataPrintAll(void); */ |
extern rpmRessPtr rpmRessAdd(char *ress, rpmDataPtr rpm); |
extern rpmRessPtr rpmRessAdd(char *ress, rpmDataPtr rpm); |
extern rpmRessPtr rpmRequAdd(char *requ, rpmDataPtr rpm); |
extern rpmRessPtr rpmRequAdd(char *requ, rpmDataPtr rpm); |
extern int rpmOpen(char *nameRpm, rpmDirPtr dir); |
extern int rpmOpen(char *nameRpm, rpmDirPtr dir); |
int rpmDirScanAll(void); |
extern int rpmDirScanAll(void); |
|
extern char *extractEMail(char *string); |
|
|
void rpmGroupSort(void); |
extern void rpmGroupSort(void); |
void rpmDistribSort(void); |
extern void rpmDistribSort(void); |
void rpmVendorSort(void); |
extern void rpmVendorSort(void); |
void rpmDateSort(void); |
extern void rpmDateSort(void); |
|
|
#endif /* __RPMDATA_H__ */ |
#endif /* __RPMDATA_H__ */ |