X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fppastats.h;h=3c63a01f33b1dfcb1d52329728799b50250b977b;hb=HEAD;hp=0b89956ab11a87046ff1a6bd1ea010228726329f;hpb=fa460465ab78c48ace6d8563e6d35917b30fab09;p=ppastats.git diff --git a/src/ppastats.h b/src/ppastats.h index 0b89956..3c63a01 100644 --- a/src/ppastats.h +++ b/src/ppastats.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011-2012 jeanfi@gmail.com + * Copyright (C) 2011-2015 jeanfi@gmail.com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -38,6 +38,7 @@ struct distro_stats { struct version_stats { char *version; + time_t date_created; struct distro_stats **distros; int download_count; @@ -62,9 +63,13 @@ struct ppa_stats { struct daily_download_total **daily_download_totals; }; +/* + * 'ws_size': size of the reply array of the getPublishedBinaries request. + */ struct ppa_stats *create_ppa_stats(const char *owner, const char *ppa, - const char *package_status); + const char *package_status, + int ws_size); void ppa_stats_free(struct ppa_stats *ppastats); #endif