aboutsummaryrefslogtreecommitdiffstats
path: root/ui-shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-shared.c')
-rw-r--r--ui-shared.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/ui-shared.c b/ui-shared.c
index 06dd0a8..de06256 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -802,6 +802,18 @@ void cgit_print_error_page(int code, const char *msg, const char *fmt, ...)
802 cgit_print_docend(); 802 cgit_print_docend();
803} 803}
804 804
805void cgit_print_layout_start(void)
806{
807 cgit_print_http_headers();
808 cgit_print_docstart();
809 cgit_print_pageheader();
810}
811
812void cgit_print_layout_end(void)
813{
814 cgit_print_docend();
815}
816
805static void add_clone_urls(void (*fn)(const char *), char *txt, char *suffix) 817static void add_clone_urls(void (*fn)(const char *), char *txt, char *suffix)
806{ 818{
807 struct strbuf **url_list = strbuf_split_str(txt, ' ', 0); 819 struct strbuf **url_list = strbuf_split_str(txt, ' ', 0);