diff options
| -rw-r--r-- | html.c | 7 | ||||
| -rw-r--r-- | html.h | 1 |
2 files changed, 0 insertions, 8 deletions
| @@ -121,13 +121,6 @@ void html_vtxtf(const char *format, va_list ap) | |||
| 121 | strbuf_release(&buf); | 121 | strbuf_release(&buf); |
| 122 | } | 122 | } |
| 123 | 123 | ||
| 124 | void html_status(int code, const char *msg, int more_headers) | ||
| 125 | { | ||
| 126 | htmlf("Status: %d %s\n", code, msg); | ||
| 127 | if (!more_headers) | ||
| 128 | html("\n"); | ||
| 129 | } | ||
| 130 | |||
| 131 | void html_txt(const char *txt) | 124 | void html_txt(const char *txt) |
| 132 | { | 125 | { |
| 133 | const char *t = txt; | 126 | const char *t = txt; |
| @@ -18,7 +18,6 @@ extern void html_vtxtf(const char *format, va_list ap); | |||
| 18 | __attribute__((format (printf,1,2))) | 18 | __attribute__((format (printf,1,2))) |
| 19 | extern void html_attrf(const char *format,...); | 19 | extern void html_attrf(const char *format,...); |
| 20 | 20 | ||
| 21 | extern void html_status(int code, const char *msg, int more_headers); | ||
| 22 | extern void html_txt(const char *txt); | 21 | extern void html_txt(const char *txt); |
| 23 | extern void html_ntxt(int len, const char *txt); | 22 | extern void html_ntxt(int len, const char *txt); |
| 24 | extern void html_attr(const char *txt); | 23 | extern void html_attr(const char *txt); |
