X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Flp_ws.h;h=519afdb4dd4f92ba44c7ed9d506bb4d491837836;hb=474ab6fa492a8b1dde963fdecb1edebc111c5fb2;hp=4676939829e7b5733870691cc8e4b35c7d2929ac;hpb=967d20c38c65689c96a0276e6f916b4f8e2617de;p=ppastats.git diff --git a/src/lp_ws.h b/src/lp_ws.h index 4676939..519afdb 100644 --- a/src/lp_ws.h +++ b/src/lp_ws.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 @@ -22,14 +22,18 @@ #include "lp.h" +/* + * 'ws_size': size of the reply array of the getPublishedBinaries request. + */ struct bpph ** -get_bpph_list(const char *archive_url, const char *package_status); +get_bpph_list(const char *archive_url, const char *package_status, int ws_size); int get_download_count(const char *archive_url); const struct distro_arch_series *get_distro_arch_series(const char *url); -struct daily_download_total **get_daily_download_totals(const char *binary_url); +struct daily_download_total **get_daily_download_totals(const char *binary_url, + time_t date_created); const struct distro_series *get_distro_series(const char *distro_series_url);