From 44923f8953c66dc9b852316b655ab3b5aec9478e Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Mon, 11 Dec 2006 17:25:41 +0100 Subject: Move global variables + callback functions into shared.c Signed-off-by: Lars Hjemli --- cgit.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'cgit.h') diff --git a/cgit.h b/cgit.h index 9c7f0b4..c1dcc97 100644 --- a/cgit.h +++ b/cgit.h @@ -47,6 +47,10 @@ extern char *cgit_query_sha1; extern int htmlfd; +extern void cgit_global_config_cb(const char *name, const char *value); +extern void cgit_repo_config_cb(const char *name, const char *value); +extern void cgit_querystring_cb(const char *name, const char *value); + extern char *fmt(const char *format,...); extern void html(const char *txt); @@ -79,7 +83,4 @@ extern void cgit_print_summary(); extern void cgit_print_log(const char *tip, int ofs, int cnt); extern void cgit_print_view(char *hex); -extern void cgit_repo_config_cb(const char *name, const char *value); - - #endif /* CGIT_H */ -- cgit v1.2.3-70-g09d2