Diff for /rpm2html/rpmdata.h between versions 1.15 and 1.16

version 1.15, 1997/12/16 14:47:24 version 1.16, 1998/01/01 06:06:40
Line 16 Line 16
  * Structure associated to a local directory containing RPM files.   * Structure associated to a local directory containing RPM files.
  */   */
   
 #define MAX_URLS 100  #define MAX_URLS        100
   #define MAX_ARCHS       (sizeof(int) * 8)
   
 typedef struct rpm_dir {  typedef struct rpm_dir {
     struct rpm_dir *next;       /* next in list */      struct rpm_dir *next;       /* next in list */
Line 56  typedef struct rpm_arch { Line 57  typedef struct rpm_arch {
 #define MAX_REQU 35  #define MAX_REQU 35
   
 typedef struct rpm_data {  typedef struct rpm_data {
     struct rpm_data *next;      /* next in the list */      struct rpm_data *next;      /* next in the full list of RPMs */
       struct rpm_data *nextSoft;  /* next software */
       struct rpm_data *nextArch;  /* RPM for same software on other archs */
       struct rpm_data *nextHash;  /* next in the hash list */
     rpmDirPtr dir;              /* directory infos */      rpmDirPtr dir;              /* directory infos */
     char *filename;             /* name of the file */      char *filename;             /* name of the file */
     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 *url;                  /* URL for the software */
     char *arch;                 /* the target platform */      char *arch;                 /* the architecture system */
     char *os;                   /* the target system */      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 */
Line 100  typedef struct rpm_ressource { Line 104  typedef struct rpm_ressource {
 } rpmRess, *rpmRessPtr;  } rpmRess, *rpmRessPtr;
   
   
   extern const char *archNames[MAX_ARCHS];
   extern int nbArchs;
   
 extern rpmDataPtr rpmList;  extern rpmDataPtr rpmList;
   extern rpmDataPtr rpmSoftwareList; /* avoid different archs clash */
 extern rpmRessPtr ressList;  extern rpmRessPtr ressList;
 extern rpmArchPtr archList;  extern rpmArchPtr archList;
 extern rpmDataPtr rpmInstalledList;  extern rpmDataPtr rpmInstalledList;
 extern rpmRessPtr ressInstalledList;  extern rpmRessPtr ressInstalledList;
 extern rpmDirPtr dirList;  extern rpmDirPtr dirList;
   
   extern void rpmAddSoftware(rpmDataPtr rpm);
 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, int installed);  extern rpmRessPtr rpmRessAdd(char *ress, rpmDataPtr rpm, int installed);

Removed from v.1.15  
changed lines
  Added in v.1.16


Webmaster