Public Member Functions | |
CgiManager (MsCgiData *data) | |
int | clean () |
MsCgiData * | getCgiData () |
void | getenv (char *, char *, unsigned int *) |
char * | getParam (char *) |
Server * | getServer () |
int | operator<< (char *) |
char * | operator>> (char *) |
char * | postParam (char *) |
int | raiseError (int) |
void | setContentType (char *) |
int | setPageError (int) |
int | start (MsCgiData *data) |
int | write (void *, int) |
int | write (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. |
|
|
|
|
|
|