Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
examples: Fix up vhosts example to run with new patplex conventions.
[ashd.git]
/
lib
/
resp.h
diff --git
a/lib/resp.h
b/lib/resp.h
index
a1f01f3
..
6262244
100644
(file)
--- a/
lib/resp.h
+++ b/
lib/resp.h
@@
-1,6
+1,15
@@
#ifndef _LIB_HTRESP_H
#define _LIB_HTRESP_H
#ifndef _LIB_HTRESP_H
#define _LIB_HTRESP_H
+#include "req.h"
+
+char *urlquote(char *text);
+char *htmlquote(char *text);
void simpleerror(int fd, int code, char *msg, char *fmt, ...);
void simpleerror(int fd, int code, char *msg, char *fmt, ...);
+void simpleerror2(FILE *out, int code, char *msg, char *fmt, ...);
+void stdredir(struct hthead *req, int fd, int code, char *dst);
+char *fmthttpdate(time_t time);
+time_t parsehttpdate(char *date);
+char *httpdefstatus(int code);
#endif
#endif