diff options
context:
space:
mode:
Diffstat (limited to 'source/html.h')
-rw-r--r--source/html.h4
1 file changed, 4 insertions, 0 deletions
diff --git a/source/html.h b/source/html.h
index 7572623..353254e 100644
--- a/source/html.h
+++ b/source/html.h
@@ -13,6 +13,10 @@ extern void html(const char *txt);
* blob limits do not bound. */
#define HTML_BATCH (64 * 1024)
+/* Write out whatever page output is still buffered. Call before anything
+ * other than html_raw writes to stdout. */
+extern void html_flush(void);
+
__attribute__((format (printf,1,2)))
extern void htmlf(const char *format,...);