set copyright year to 2015
[ppastats.git] / src / ppastats.h
index 0b89956..3c63a01 100644 (file)
@@ -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