userplex: Corrected opening of /dev/null.
[ashd.git] / lib / resp.h
1 #ifndef _LIB_HTRESP_H
2 #define _LIB_HTRESP_H
3
4 #include "req.h"
5
6 char *urlquote(char *text);
7 char *htmlquote(char *text);
8 void simpleerror(int fd, int code, char *msg, char *fmt, ...);
9 void stdredir(struct hthead *req, int fd, int code, char *dst);
10 char *fmthttpdate(time_t time);
11 time_t parsehttpdate(char *date);
12
13 #endif