X-Git-Url: http://www.dolda2000.com/gitweb/?a=blobdiff_plain;f=lib%2Fresp.h;h=6262244a80a23f15d858c9b11213a885f3a04c85;hb=407963f25c664cd1450ec5f6eeb80c449ff57e74;hp=6cb7ec3a5b4c3096150e23c6c3117a2d34b97101;hpb=b008ba9e509b87a440c634bd9b3019d6701ba173;p=ashd.git diff --git a/lib/resp.h b/lib/resp.h index 6cb7ec3..6262244 100644 --- a/lib/resp.h +++ b/lib/resp.h @@ -6,8 +6,10 @@ char *urlquote(char *text); char *htmlquote(char *text); 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