| typedef struct {
//******************************************************
// Request fields (Read Only!!!!)
//******************************************************
unsigned char fConnectionId; // -- internal use only --
int fHttpRequest; // get, post, head
char *fPathPtr; // URL
char *fHostPtr; // Host:
char *fRefererPtr; // (at time not supported)
char *fAgentPtr; // (at time not supported)
char *fLanguagePtr; // (at time not supported)
unsigned long fBrowserDate; // Date: (internal)
char *fArgumentBufferPtr; // Pointer to argument buf
long fArgumentBufferLength; // Length of argument buf
char *fUserNamePtr; // Username from Authorization
char *fPasswordPtr; // Password from Authorization
long *fRemoteIPPtr; // new at V1.00 Beta, points to the remoteIP,
// you must split the octets
// For using the IP to etsablish TCP/IP
// connections, you have to exchange
// lowbyte and highbyte!
//******************************************************
// Response fields (Set by CGI function)
//******************************************************
int fResponseState; // -- internal, do not modify --
int fHttpResponse; // Response httpmsg e.g. CgiHttpOk
int fDataType; // Content type, e.g. text/HTML, text/plain
char *fResponseBufferPtr; // Pointer to the created page
long fResponseBufferLength; // Length of the page (max. length is 65519 chars)
unsigned long fObjectDate; // -- internal, do not modify --
unsigned int fHostIndex; // -- internal, do not modify --
} rpCgi, *rpCgiPtr; |