]> gitweb.ps.run Git - ps-cgit/blobdiff - html.h
Supply status description to html_status()
[ps-cgit] / html.h
diff --git a/html.h b/html.h
index 63f4551e1dce5c649ba86fd6ee02dd7ccf07a9b4..3c3293557abd8e95f756eaebd7e2fd5f66704f34 100644 (file)
--- a/html.h
+++ b/html.h
@@ -3,8 +3,10 @@
 
 extern int htmlfd;
 
+extern void html_raw(const char *txt, size_t size);
 extern void html(const char *txt);
 extern void htmlf(const char *format,...);
+extern void html_status(int code, const char *msg, int more_headers);
 extern void html_txt(char *txt);
 extern void html_ntxt(int len, char *txt);
 extern void html_attr(char *txt);
@@ -15,4 +17,6 @@ extern void html_link_close(void);
 extern void html_fileperm(unsigned short mode);
 extern int html_include(const char *filename);
 
+extern int http_parse_querystring(char *txt, void (*fn)(const char *name, const char *value));
+
 #endif /* HTML_H */