sister
 All Files Functions
i4httools.h
Go to the documentation of this file.
1 
9 #ifndef I4HTTOOLS_H
10 #define I4HTTOOLS_H
11 
12 #include <stdio.h>
13 
14 
27 int checkPath(const char relPath[]);
28 
37 void httpOK(FILE *client);
38 
52 void httpMovedPermanently(FILE *client, const char newRelPath[]);
53 
64 void httpBadRequest(FILE *client, const char request[]);
65 
76 void httpForbidden(FILE *client, const char relPath[]);
77 
88 void httpNotFound(FILE *client, const char relPath[]);
89 
101 void httpInternalServerError(FILE *client, const char relPath[]);
102 
103 
104 #endif /* I4HTTOOLS_H */