X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=lib%2Fresp.h;h=00f187288673d657d0e8ffc6f6790e7978324ab2;hb=6373daf9d9fdd9e24d2c657abf0625337f9b3a24;hp=a1f01f37464393593f923ccf94468ab715b11548;hpb=d422fdfd62d851b345562ad4d093465d2bec604b;p=ashd.git diff --git a/lib/resp.h b/lib/resp.h index a1f01f3..00f1872 100644 --- a/lib/resp.h +++ b/lib/resp.h @@ -1,6 +1,11 @@ #ifndef _LIB_HTRESP_H #define _LIB_HTRESP_H +#include + void simpleerror(int fd, 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); #endif