X-Git-Url: http://www.dolda2000.com/gitweb/?a=blobdiff_plain;f=lib%2Fresp.h;h=8f18f87d366df37b64c5c2ccbc798fcb14b97cae;hb=349b25644067aa6754197a991c3ba00143d60a19;hp=90771dc8a9614d06d85fe80c60a4574d8ced5f87;hpb=b4164ce630753af81884d347b930625fb020b018;p=ashd.git diff --git a/lib/resp.h b/lib/resp.h index 90771dc..8f18f87 100644 --- a/lib/resp.h +++ b/lib/resp.h @@ -1,7 +1,12 @@ #ifndef _LIB_HTRESP_H #define _LIB_HTRESP_H +#include + +char *urlquote(char *text); +char *htmlquote(char *text); 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);