X-Git-Url: https://unix4lyfe.org/gitweb/darkstat/blobdiff_plain/0a152e51f5d9c1771308caa7135d363a722aee18..0736c704e88399324e1a3c5d484cb116458c23b1:/html.h diff --git a/html.h b/html.h index b31e138..b024cc5 100644 --- a/html.h +++ b/html.h @@ -1,35 +1,14 @@ /* darkstat 3 * - * html.h: HTML header/footer for web interface. + * html.h: HTML header/footer templating for web interface. * copyright (c) 2006 Ben Stewart. - * - * You may use, modify and redistribute this file under the terms of the - * GNU General Public License version 2. (see COPYING.GPL) + * copyright (c) 2010 Malte S. Stretz. */ -static const char html_header_1[] = -"\n" -"\n" -"\n" -" \n"; - -static const char html_header_2[] = -"\n" -"\n" -"
\n" - "\n" -"
\n" -"
\n"; +struct str; -static const char html_footer[] = -"
\n" -"\n" -"\n"; +void html_open(struct str *buf, const char *title, + const unsigned int path_depth, const int want_graph_js); +void html_close(struct str *buf); /* vim:set ts=3 sw=3 tw=78 expandtab: */