Public Member Functions | |
| void | addHeader (const char *, const char *) |
| CgiManager (MsCgiData *data) | |
| int | clean () |
| MsCgiData * | getCgiData () |
| void | getenv (const char *, char *, u_long *) |
| char * | getParam (const char *) |
| Server * | getServer () |
| int | operator<< (const char *) |
| char * | operator>> (const char *) |
| char * | postParam (const char *) |
| int | raiseError (int) |
| void | setContentType (const char *) |
| int | setPageError (int) |
| int | start (MsCgiData *data) |
| int | write (const void *, int) |
| int | write (const char *) |
| ~CgiManager (void) | |
Private Attributes | |
| MsCgiData * | cgidata |
| char | localbuffer [LOCAL_BUFFER_DIM] |
| HttpThreadContext * | td |
|
|
Constructor of the class |
|
|
Destructor of the class |
|
||||||||||||
|
|
|
|
Clean the memory allocated by the CGI. |
|
|
Returns the CGI data structure. This structure is shared with the MyServer core so use it carefully! |
|
||||||||||||||||
|
Get the value of an environment variable. |
|
|
Returns the value of a param passed through the URL. |
|
|
|
|
|
Write to stdout. |
|
|
Read from the stdin. |
|
|
Returns the value of a param passed through a POST request. |
|
|
Raise an HTTP error |
|
|
Specify the MIME type for the data. |
|
|
Set the HTTP error identifier. |
|
|
Start the execution of the CGI. |
|
||||||||||||
|
Write binary to the stdout. |
|
|
Write to the stdout. |
|
|
|
|
|
|
|
|
|
1.3.9.1