aboutsummaryrefslogtreecommitdiffstats
path: root/ui-shared.h
diff options
context:
space:
mode:
authorJohn Keeping2015-08-14 12:47:11 +0100
committerJason A. Donenfeld2015-08-14 15:46:51 +0200
commit764987980ec0e806205b8e075feafd4e010dcbd9 (patch)
tree3615d20fa53c80a46338fd97278a6279a15fc476 /ui-shared.h
parentfb2c71fad23f4f13f56f74a8b79907805ab1b772 (diff)
downloadcgit-764987980ec0e806205b8e075feafd4e010dcbd9.tar.gz
cgit-764987980ec0e806205b8e075feafd4e010dcbd9.tar.bz2
cgit-764987980ec0e806205b8e075feafd4e010dcbd9.zip
ui-shared: add cgit_print_layout_{start,end}()
These will avoid needing to call three functions to start page layout in subsequent patches when we move the layout setup into each individual page. Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'ui-shared.h')
-rw-r--r--ui-shared.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui-shared.h b/ui-shared.h
index 652685e..246678b 100644
--- a/ui-shared.h
+++ b/ui-shared.h
@@ -54,6 +54,9 @@ extern void cgit_object_link(struct object *obj);
54extern void cgit_submodule_link(const char *class, char *path, 54extern void cgit_submodule_link(const char *class, char *path,
55 const char *rev); 55 const char *rev);
56 56
57extern void cgit_print_layout_start(void);
58extern void cgit_print_layout_end(void);
59
57__attribute__((format (printf,1,2))) 60__attribute__((format (printf,1,2)))
58extern void cgit_print_error(const char *fmt, ...); 61extern void cgit_print_error(const char *fmt, ...);
59__attribute__((format (printf,1,0))) 62__attribute__((format (printf,1,0)))