|
diff --git a/html.h b/html.h index 16d55ec..1135fb8 100644 --- a/ html.h+++ b/ html.h |
|
@@ -1,16 +1,19 @@ |
1 | #ifndef HTML_H |
1 | #ifndef HTML_H |
2 | #define HTML_H |
2 | #define HTML_H |
3 | |
3 | |
4 | extern int htmlfd; |
4 | extern int htmlfd; |
5 | |
5 | |
6 | extern void html_raw(const char *txt, size_t size); |
6 | extern void html_raw(const char *txt, size_t size); |
7 | extern void html(const char *txt); |
7 | extern void html(const char *txt); |
| |
8 | |
| |
9 | __attribute__((format (printf,1,2))) |
8 | extern void htmlf(const char *format,...); |
10 | extern void htmlf(const char *format,...); |
| |
11 | |
9 | extern void html_status(int code, const char *msg, int more_headers); |
12 | extern void html_status(int code, const char *msg, int more_headers); |
10 | extern void html_txt(const char *txt); |
13 | extern void html_txt(const char *txt); |
11 | extern void html_ntxt(int len, const char *txt); |
14 | extern void html_ntxt(int len, const char *txt); |
12 | extern void html_attr(const char *txt); |
15 | extern void html_attr(const char *txt); |
13 | extern void html_url_path(const char *txt); |
16 | extern void html_url_path(const char *txt); |
14 | extern void html_url_arg(const char *txt); |
17 | extern void html_url_arg(const char *txt); |
15 | extern void html_hidden(const char *name, const char *value); |
18 | extern void html_hidden(const char *name, const char *value); |
16 | extern void html_option(const char *value, const char *text, const char *selected_value); |
19 | extern void html_option(const char *value, const char *text, const char *selected_value); |
|