diff options
author | Lars Hjemli | 2010-09-19 19:00:05 +0200 |
---|---|---|
committer | Lars Hjemli | 2010-09-19 19:00:05 +0200 |
commit | a9d6e6e695da6c6ed7f4bb32630ab2f3d9314806 (patch) | |
tree | de8271ebfabd244437cd68021c8af86391afb9bd /html.h | |
parent | Merge branch 'lh/section-from-path' (diff) | |
parent | prefer html_raw() to write() (diff) | |
download | cgit-a9d6e6e695da6c6ed7f4bb32630ab2f3d9314806.tar.gz cgit-a9d6e6e695da6c6ed7f4bb32630ab2f3d9314806.zip |
Merge branch 'ml/bugfix'
Diffstat (limited to 'html.h')
-rw-r--r-- | html.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/html.h b/html.h index 16d55ec..1135fb8 100644 --- a/html.h +++ b/html.h | |||
@@ -5,7 +5,10 @@ extern int htmlfd; | |||
5 | 5 | ||
6 | extern void html_raw(const char *txt, size_t size); | 6 | extern void html_raw(const char *txt, size_t size); |
7 | extern void html(const char *txt); | 7 | extern void html(const char *txt); |
8 | |||
9 | __attribute__((format (printf,1,2))) | ||
8 | extern void htmlf(const char *format,...); | 10 | extern void htmlf(const char *format,...); |
11 | |||
9 | extern void html_status(int code, const char *msg, int more_headers); | 12 | extern void html_status(int code, const char *msg, int more_headers); |
10 | extern void html_txt(const char *txt); | 13 | extern void html_txt(const char *txt); |
11 | extern void html_ntxt(int len, const char *txt); | 14 | extern void html_ntxt(int len, const char *txt); |