Header for the request-handling module. More...
#include <stdio.h>Go to the source code of this file.
Functions | |
| int | initRequestHandler (void) |
| Initializes the request-handling module. | |
| void | handleRequest (FILE *client) |
| Handles requests coming from a client. | |
Header for the request-handling module.
| void handleRequest | ( | FILE * | client | ) |
Handles requests coming from a client.
This function does the actual work of communicating with the client. It should be called from the connection-handling module.
| client | Client-connection stream. It is the caller's responsibility to close it after this function has returned. |
| int initRequestHandler | ( | void | ) |
Initializes the request-handling module.
1.7.1