Go to the documentation of this file.00001
00009 #ifndef I4HTTOOLS_H
00010 #define I4HTTOOLS_H
00011
00012 #include <stdio.h>
00013
00014
00027 int checkPath(const char relPath[]);
00028
00038 void badRequest(FILE *client, const char request[]);
00039
00050 void forbidden(FILE *client, const char fullPath[], const char relPath[]);
00051
00062 void notFound(FILE *client, const char fullPath[], const char relPath[]);
00063
00074 void internalServerError(FILE *client, const char fullPath[],
00075 const char relPath[]);
00076
00077 #endif