updated copyright end date to 2014
[ppastats.git] / src / ppastats.h
index 0b89956..9127731 100644 (file)
@@ -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