From e5da4bca54574522b28f88cab0dc8ebad9e35a73 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Wed, 6 Aug 2008 10:53:50 +0200 Subject: Implement plain view This implements a way to access plain blobs by path (similar to the tree view) instead of by sha1. Signed-off-by: Lars Hjemli --- html.h | 1 + 1 file changed, 1 insertion(+) (limited to 'html.h') diff --git a/html.h b/html.h index 2bde28d..49462a2 100644 --- a/html.h +++ b/html.h @@ -3,6 +3,7 @@ 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, int more_headers); -- cgit v1.2.1 From 885096c189574b1cf2e0897cc05aadd7b092a677 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Wed, 6 Aug 2008 22:57:44 +0200 Subject: Supply status description to html_status() Signed-off-by: Lars Hjemli --- html.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'html.h') diff --git a/html.h b/html.h index 49462a2..3c32935 100644 --- a/html.h +++ b/html.h @@ -6,7 +6,7 @@ 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, int more_headers); +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); -- cgit v1.2.1