htparser: Added support for handing a cipher priority specification to GnuTLS.
[ashd.git] / lib / resp.h
... / ...
CommitLineData
1#ifndef _LIB_HTRESP_H
2#define _LIB_HTRESP_H
3
4#include "req.h"
5
6char *urlquote(char *text);
7char *htmlquote(char *text);
8void simpleerror(int fd, int code, char *msg, char *fmt, ...);
9void simpleerror2(FILE *out, int code, char *msg, char *fmt, ...);
10void stdredir(struct hthead *req, int fd, int code, char *dst);
11char *fmthttpdate(time_t time);
12time_t parsehttpdate(char *date);
13char *httpdefstatus(int code);
14
15#endif