858590b53e5ce4160d51527b417a46f63bf1eefc
[ppastats.git] / src / html.h
1 /*
2  * Copyright (C) 2011-2014 jeanfi@gmail.com
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License as
6  * published by the Free Software Foundation; either version 2 of the
7  * License, or (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful, but
10  * WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17  * 02110-1301 USA
18  */
19
20 #ifndef _PPASTATS_HTML_H_
21 #define _PPASTATS_HTML_H_
22
23 #include "lp.h"
24
25 /*
26  * 'ws_size': size of the reply array of the getPublishedBinaries request.
27  */
28 void ppa_to_html(const char *owner,
29                  const char *ppa,
30                  const char *package_status,
31                  const char *output_dir,
32                  const int install_static_files,
33                  int ws_size);
34
35 void html_cleanup();
36
37 #endif