X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fppastats.h;h=91277318bb594607e764329fe6f240c22d906c97;hb=46db2198db02ed75562dd331d68ddbbbb1f1cff4;hp=0b89956ab11a87046ff1a6bd1ea010228726329f;hpb=fa460465ab78c48ace6d8563e6d35917b30fab09;p=ppastats.git diff --git a/src/ppastats.h b/src/ppastats.h index 0b89956..9127731 100644 --- a/src/ppastats.h +++ b/src/ppastats.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011-2012 jeanfi@gmail.com + * Copyright (C) 2011-2014 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 @@ -62,9 +62,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