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