aboutsummaryrefslogtreecommitdiffstats
path: root/ui-shared.h
diff options
context:
space:
mode:
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 1b8ecb5..43d0fa6 100644
--- a/ui-shared.h
+++ b/ui-shared.h
@@ -1,6 +1,8 @@
1#ifndef UI_SHARED_H 1#ifndef UI_SHARED_H
2#define UI_SHARED_H 2#define UI_SHARED_H
3 3
4#include <stdbool.h>
5
4extern const char *cgit_httpscheme(); 6extern const char *cgit_httpscheme();
5extern const char *cgit_hosturl(); 7extern const char *cgit_hosturl();
6extern const char *cgit_rooturl(); 8extern const char *cgit_rooturl();
@@ -61,6 +63,7 @@ extern void cgit_vprint_error(const char *fmt, va_list ap);
61extern void cgit_print_date(time_t secs, const char *format, int local_time); 63extern void cgit_print_date(time_t secs, const char *format, int local_time);
62extern void cgit_print_age(time_t t, time_t max_relative, const char *format); 64extern void cgit_print_age(time_t t, time_t max_relative, const char *format);
63extern void cgit_print_http_headers(void); 65extern void cgit_print_http_headers(void);
66extern void cgit_redirect(const char *url, bool permanent);
64extern void cgit_print_docstart(void); 67extern void cgit_print_docstart(void);
65extern void cgit_print_docend(); 68extern void cgit_print_docend();
66extern void cgit_print_pageheader(void); 69extern void cgit_print_pageheader(void);