struct arch_stats {
char *name;
- struct daily_download_total *daily_download_totals;
int download_count;
};
struct arch_stats **archs;
int download_count;
- struct daily_download_total *daily_download_totals;
+ struct daily_download_total **ddts;
};
struct version_stats {
struct distro_stats **distros;
int download_count;
- struct daily_download_total *daily_download_totals;
+ struct daily_download_total **daily_download_totals;
};
struct package_stats {
struct version_stats **versions;
int download_count;
- struct daily_download_total *daily_download_totals;
+ struct daily_download_total **daily_download_totals;
+ struct distro_stats **distros;
};
struct ppa_stats {
struct package_stats **packages;
int download_count;
- struct daily_download_total *daily_download_totals;
+ struct daily_download_total **daily_download_totals;
};
struct ppa_stats *create_ppa_stats(const char *owner,