Commit | Line | Data |
---|---|---|
d422fdfd FT |
1 | #ifndef _LIB_HTRESP_H |
2 | #define _LIB_HTRESP_H | |
3 | ||
46e66302 FT |
4 | #include <req.h> |
5 | ||
d422fdfd | 6 | void simpleerror(int fd, int code, char *msg, char *fmt, ...); |
46e66302 | 7 | void stdredir(struct hthead *req, int fd, int code, char *dst); |
b4164ce6 FT |
8 | char *fmthttpdate(time_t time); |
9 | time_t parsehttpdate(char *date); | |
d422fdfd FT |
10 | |
11 | #endif |