X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fhtml.h;h=8dca53d667bb7b44d4c0dbaecfe67612b3d572da;hb=db9b8d2df5a1907af92826771538c6ab37ef2d4e;hp=f5cf6a524781863170080c2a14faaa71e74358cd;hpb=5ed73c995d6fcb5f3b4626bf7ebf609fc52f5d94;p=ppastats.git diff --git a/src/html.h b/src/html.h index f5cf6a5..8dca53d 100644 --- a/src/html.h +++ b/src/html.h @@ -1,27 +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" -void ppa_to_html(const char *owner, const char *ppa); +/* + * '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, + int ws_size); + +void html_cleanup(); + +void html_set_theme_dir(const char *); #endif