X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=lib%2Fresp.h;h=8730584633b7c797b1510c83ddb8901ea2c8e734;hp=00f187288673d657d0e8ffc6f6790e7978324ab2;hb=65e8a9a08a303b49015ac21c951576f10831415d;hpb=46e6630278db9fb3b7aa7150d28fcd90993a5cc9 diff --git a/lib/resp.h b/lib/resp.h index 00f1872..8730584 100644 --- a/lib/resp.h +++ b/lib/resp.h @@ -1,9 +1,12 @@ #ifndef _LIB_HTRESP_H #define _LIB_HTRESP_H -#include +#include "req.h" +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);