added --get-bpph-size to specify the size of the requests to get the list of binary...
[ppastats.git] / src / ppastats.h
index 0b89956..e88893d 100644 (file)
@@ -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