+static struct version_stats *version_stats_new(const char *version)
+{
+ struct version_stats *v;
+
+ v = malloc(sizeof(struct version_stats));
+ v->version = strdup(version);
+ v->distros = NULL;
+ v->download_count = 0;
+ v->daily_download_totals = NULL;
+ v->date_created = 0;
+
+ return v;
+}
+