summaryrefslogtreecommitdiffabout
path: root/html.h
Side-by-side diff
Diffstat (limited to 'html.h') (more/less context) (show whitespace changes)
-rw-r--r--html.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/html.h b/html.h
index 16d55ec..1135fb8 100644
--- a/html.h
+++ b/html.h
@@ -6,5 +6,8 @@ extern int htmlfd;
extern void html_raw(const char *txt, size_t size);
extern void html(const char *txt);
+
+__attribute__((format (printf,1,2)))
extern void htmlf(const char *format,...);
+
extern void html_status(int code, const char *msg, int more_headers);
extern void html_txt(const char *txt);