(no commit message)
[ppastats.git] / src / html.h
index 9eb89d3..8dca53d 100644 (file)
@@ -1,31 +1,39 @@
 /*
   Copyright (C) 2011 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 published by
-    the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
-
   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
   02110-1301 USA
-*/
* 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
+ * published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
* General Public License for more details.
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA
+ */
 
 #ifndef _PPASTATS_HTML_H_
 #define _PPASTATS_HTML_H_
 
 #include "lp.h"
 
+/*
+ * 'ws_size': size of the reply array of the getPublishedBinaries request.
+ */
 void ppa_to_html(const char *owner,
                 const char *ppa,
                 const char *package_status,
                 const char *output_dir,
-                const int install_static_files);
+                const int install_static_files,
+                int ws_size);
+
+void html_cleanup();
+
+void html_set_theme_dir(const char *);
 
 #endif